473,395 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how secure is Querystring authentication using uniqueidentifier

Hi all,

Does anyone have a best practice for performring querystring
authentication. I am now sending an email with a url to which the user
clicks to confirm his or her registration. The url contains a Guid in
the querystring, and this is validated agains the user's
uniqueidenfier in the sql server database. How secure is the
uniqueidentifer, and should I use a md5 encryption with a seed, or DES
encryption instead?

Any help greatly appreciated

Regards

Nils (ni*****@no-spam.hotmail.com)
Nov 18 '05 #1
1 1983
Someone who reads this mail knows the internal user id of the user in the
database.

I would use a temporary identifier for this *action* to avoid exposing
internal details (for example it could be the guid of a registration action
that is recorded in an action table, once the action is done, this id
becomes totally unused ; you could use the same table for other actions)...

You could also crypt but generally I would say that it's still best to avoid
exposing something rather than to have to crypt it...

At last GUIDs were previously created in sequence but it has been changed to
create unguessable sequences. You may still want to check if you run under
an old system (so that the action id can't be guessed so that a user could
easily triggers another action)...

Patrice

--

"Nils N" <ni*****@hotmail.com> a écrit dans le message de
news:84*************************@posting.google.co m...
Hi all,

Does anyone have a best practice for performring querystring
authentication. I am now sending an email with a url to which the user
clicks to confirm his or her registration. The url contains a Guid in
the querystring, and this is validated agains the user's
uniqueidenfier in the sql server database. How secure is the
uniqueidentifer, and should I use a md5 encryption with a seed, or DES
encryption instead?

Any help greatly appreciated

Regards

Nils (ni*****@no-spam.hotmail.com)

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
4
by: Leszek | last post by:
Hello, Is there anywhere on the net a simple step-by-step guide how to implement SSL with ASP.NET? My Internet provider enables this feature and I would like to use it to authenticate users on...
1
by: Iulian Ionescu | last post by:
I have a page (http://www.something.com/) and a secure page (https://secure.something.com) and the secure.something.com points to http://www.something.com/secure/ All works ok, but, when I...
4
by: MR. UNDERHILL | last post by:
I want to use forms authentication on my website. Looking at the documentation, I create a sample site for testing. One of my requirements is to ensure that SOME pages required an authenticated...
3
by: Jeremy S | last post by:
What are some options for scrambling information in the QueryString. Consider this URL for example: SomePage.aspx?userid=15 I don't care if there is something in the querystring - I'd just...
4
by: Jeff | last post by:
Using ASP.NET 1.1 Suppose I put the following code in an aspx code-behind's Page_Load() event procedure... if ( ! VerifiedSomething()) { Server.Transfer("../NoDice.aspx"); Response.End(); }
6
by: Notgiven | last post by:
I am considering a large project and they currently use LDAP on MS platform. It would be moved to a LAMP platform. OpenLDAP is an option though I have not used it before. I do feel fairly...
3
by: dew | last post by:
I have a stored procedure that retrieves the id of a client table, which is a guid To get that id, I have dim clientid as guid = GetClientID("OrgName") The GetClientID returns a string,...
2
by: Timbo | last post by:
Hello all, I have created a secure folder on my web server and created a user and password that can access it. So when you navigate to a page/file within this folder the login box appears. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.