PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
jito
Forum Commoner
Posts: 85 Joined: Sat Mar 25, 2006 4:32 am
Location: india
Post
by jito » Thu Jul 27, 2006 9:24 am
hi,
i want to make a login form without using database. will it be secure to use a file instead? any other alternatives.
klarinetking
Forum Commoner
Posts: 59 Joined: Mon Jul 24, 2006 9:43 am
Post
by klarinetking » Thu Jul 27, 2006 9:45 am
Hi,
As long as you make sure that the file cannot be accessed by anyone, for example by placing it outside the webroot, it should be fairly safe.
klarinetking
jito
Forum Commoner
Posts: 85 Joined: Sat Mar 25, 2006 4:32 am
Location: india
Post
by jito » Fri Jul 28, 2006 8:20 am
is it wll be better if i use sha1 or md5....?
ronverdonk
Forum Commoner
Posts: 34 Joined: Sat Jun 10, 2006 7:06 am
Location: Netherlands
Post
by ronverdonk » Fri Jul 28, 2006 9:26 am
I don't want to go into a discussion about MD5 or SHA1 or whatever but thou shall always encrypt sensitive info, especially passwords!