|
-
Jun 25th, 2007, 05:55 AM
#1
Thread Starter
Hyperactive Member
[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 
-
Jun 25th, 2007, 06:27 AM
#2
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
-
Jun 25th, 2007, 07:21 AM
#3
Thread Starter
Hyperactive Member
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 
-
Jun 25th, 2007, 09:19 AM
#4
Thread Starter
Hyperactive Member
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 
-
Jun 25th, 2007, 09:39 AM
#5
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.
-
Jun 25th, 2007, 10:21 AM
#6
Thread Starter
Hyperactive Member
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 
-
Jun 25th, 2007, 10:22 AM
#7
Re: [RESOLVED] [2005] Best method to store limited user data ?
No problem. Good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|