|
-
Aug 28th, 2007, 07:22 AM
#1
Thread Starter
Fanatic Member
Storing and retriving a single username and password
Hi guys,
Im in the proccess of making a small application. It will have only one username and password. Which would be the best way to store these values. I want the user to be able to change these values so hard coding is a no no!
Thanks
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
-
Aug 28th, 2007, 08:13 AM
#2
Re: Storing and retriving a single username and password
Any reasons to have logins for a single user app?
-
Aug 28th, 2007, 08:19 AM
#3
Thread Starter
Fanatic Member
Re: Storing and retriving a single username and password
The app stores cd keys for registration of programs, i just want to give a bit of extra security.
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
-
Aug 28th, 2007, 09:22 AM
#4
Re: Storing and retriving a single username and password
I always recommend the user of a database as it is far easier to deal with and manipulate that other forms of storage.
It is also much easier to secure.
-
Aug 28th, 2007, 09:28 AM
#5
Thread Starter
Fanatic Member
Re: Storing and retriving a single username and password
@ Hack: Even though it is only to pieces of info?
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
-
Aug 28th, 2007, 09:33 AM
#6
Re: Storing and retriving a single username and password
This thread appears to be about making things more secure as you have stated you wanted to add a bit more security.
If security is a factor for you, then the amount of data really isn't as important as keeping what you do have safe, right?
-
Aug 28th, 2007, 09:36 AM
#7
Re: Storing and retriving a single username and password
As an alternative to DB you can encrypt the key and value and store them in registry somewhere.
-
Aug 28th, 2007, 09:36 AM
#8
Thread Starter
Fanatic Member
Re: Storing and retriving a single username and password
Very true, i suppose considering the information at stake it would be silly not to pick the safest option. Thanks hack
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
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
|