Mutated Gamer wrote:
Okay, I'll try my best, but I'll need to look up codes on creating a text file, checking if it's there, and reading it, and checking the text (should be a if command, correct?)
Write some pseudo-code concerning what you want to do before looking up anything VB related. Don't even worry about programming at this point.
Mutated Gamer wrote:
Also, how would I make it create a text file nobody but the system can read/write?
The problem isn't making a text file that only the system can read/write... the problem is storing an unencrypted password in a text file. This is going to be incredibly insecure. And yes, this is exactly what early Unix systems did.
program prompts user for username and password
program "hashes" password using a hash algorithm
program checks the hash in memory with the user's hash in the password file
if hashes match, the user is authenticated.
if not, the user is not authenticated.