[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.
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
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 :)
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.
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.
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 :thumb:
Re: [RESOLVED] [2005] Best method to store limited user data ?
No problem. Good luck. :thumb: