Results 1 to 7 of 7

Thread: [RESOLVED] [2005] Best method to store limited user data ?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Resolved [RESOLVED] [2005] Best method to store limited user data ?

    Just a quick question, I need to store a limited amount of user data, e.g Username, Password, Email, Token etc.

    I need this to be stored securely, not like Fort Knox but secure enough to prevent easy access, what's the best most efficient method, would it be within MySettings, or an xml file (is it possible to password protect a xml file?)or mdb.
    If my post helps , please feel free to rate it

  2. #2
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: [2005] Best method to store limited user data ?

    I'm not sure about the best way but i was messing around with SQL and wanted to do something similar. I found this article really clear and the code was simple to understand.

    http://aspnet.4guysfromrolla.com/articles/103002-1.aspx
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Re: [2005] Best method to store limited user data ?

    Thanks Stim, thats a great article I think it's the way to go for securing the info.

    Suppose once it's encrypted I can store it however I like
    If my post helps , please feel free to rate it

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Re: [2005] Best method to store limited user data ?

    Just a follow on, is it possible to store the returned MD5 byte array in My.Settings?

    I only have to store one users details so I'm thinking storing them encrypted in my settings should be ok.
    If my post helps , please feel free to rate it

  5. #5
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: [2005] Best method to store limited user data ?

    I could be wrong here but i don't think it would store a byte array (I don't think my.settings has that ability).

    So, you may have a small problem with that if that turns out to be true.
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Re: [2005] Best method to store limited user data ?

    Think I'll use a StringBuilder to create a string representation of the array and store it that way.

    Thanks again Stim
    If my post helps , please feel free to rate it

  7. #7
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: [RESOLVED] [2005] Best method to store limited user data ?

    No problem. Good luck.
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

Posting Permissions

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



Click Here to Expand Forum to Full Width