View Single Post
Old 11-04-2003, 11:26 AM   #5 (permalink)
hrdwareguy
"Officer, I was in fear for my life"
 
hrdwareguy's Avatar
 
Location: Oklahoma City
Like sailor said, you can use an htaccess file to keep the username and password in. But I'm sure we've all seen sites like that with username and passwords listed on crack sites.

Another approach would be to keep your login info in a database such as mySQL. Then using PHP, JSP, ASP, something like that, you could requre them to enter a username and password on the main page. Check this against the values in the database and if they match, you're in. Much harder to crack this than the htaccess file.
__________________
Gun Control is hitting what you aim at

Aim for the TFP, Donate Today
hrdwareguy is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62