|
-
Nov 23rd, 2006, 09:34 PM
#1
Thread Starter
New Member
Login for program
i am creating a program that requires a login but dont know how to save a password and username. i would like this program to be self contained. i would like an administrator to be able to add usernames. i have very limited programming experience so complex code means little to me.
-
Nov 23rd, 2006, 09:54 PM
#2
Re: Login for program
...more complex code ~ better code... 
You have more options...
- save each "account" to the registry
- ... to a file/database...
- encrypt it or not...
You'll need to decide the way to go before you even start thinking about the code...
-
Nov 23rd, 2006, 10:03 PM
#3
Re: Login for program
You can store it directly in the EXE file, which makes it work on all systems, and prevents you from having to distribute a password file with it.
I would recommend encrypting it though, otherwise it's plain as day if someone views the EXE in notepad, or a hex editor.
http://www.vbforums.com/showthread.php?t=432537
Also, I've recently found a much easier way to do it, so you may want to check back there in a day or two for when I update the code.
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
|