Professional Web Applications Themes

GUID question - ASP.NET Security

Hi, What is a GUID exactly. Is it a unique identifier that the environment assigns you or does it take your password and encrypt it? Does it correspond with a value in the database for validation (such as a password field)? Thanks Rob *** Sent via Developersdex [url]http://www.developersdex.com[/url] *** Don't just participate in USENET...get rewarded for it!...

  1. #1

    Default GUID question

    Hi,
    What is a GUID exactly. Is it a unique identifier that the environment
    assigns you or does it take your password and encrypt it? Does it
    correspond with a value in the database for validation (such as a
    password field)?

    Thanks
    Rob

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Rob Guest

  2. #2

    Default Re: GUID question

    Rob wrote:
    > Hi,
    > What is a GUID exactly. Is it a unique identifier that the environment
    > assigns you or does it take your password and encrypt it? Does it
    > correspond with a value in the database for validation (such as a
    > password field)?
    Quoting MSDN:

    "A GUID is a 128-bit integer (16 bytes) that can be used across all
    computers and networks wherever a unique identifier is required. Such
    an identifier has a very low probability of being duplicated."

    No password, no encryption.


    Cheers,
    --
    [url]http://www.joergjooss.de[/url]
    mailto:news-replyjoergjooss.de
    Joerg Jooss Guest

  3. #3

    Default Re: GUID question

    So if someone passes me a guid through a querystring, there no way that
    that will correspond to a database field on our database?
    It's pretty much like a session("session_id") in classic ASP i guess.

    Thanks
    Rob



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Rob Guest

  4. #4

    Default Re: GUID question

    Rob wrote:
    > So if someone passes me a guid through a querystring, there no way
    > that that will correspond to a database field on our database?
    Nothing prevents one from using GUIDs as surrogate primary keys. It can
    even be a convenient solution in case you want to expose those primary
    keys in a web application without allowing users to easily "walk"
    through a database table by incrementing/decrementing primary keys.


    Cheers,

    --
    [url]http://www.joergjooss.de[/url]
    mailto:news-replyjoergjooss.de
    Joerg Jooss Guest

Similar Threads

  1. GUID and CFProcParam
    By DeliK in forum Coldfusion Database Access
    Replies: 5
    Last Post: June 23rd, 11:03 PM
  2. SQL: AutoCreating a not-so-unique GUID?
    By darrel in forum Dreamweaver AppDev
    Replies: 0
    Last Post: May 18th, 08:46 PM
  3. Binding DirectoryEntry to AD object via GUID
    By Gary K in forum ASP.NET Security
    Replies: 3
    Last Post: August 20th, 05:35 AM
  4. Retrieving GUID from DB2 UDB
    By Knut Stolze in forum IBM DB2
    Replies: 0
    Last Post: August 6th, 07:55 AM
  5. GUID as a parameter
    By in forum Microsoft SQL / MS SQL Server
    Replies: 2
    Last Post: July 1st, 09:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139