Forum Moderators: coopster
If that is insecure, i have another question. Can the content(code) of a php file be read from a server? And how to chmod or put in some htaccess files so the only way to have acess to that file was from the webserver?
Thanks in advance, Dragos
secondly, i think md5 is pretty secure. although my experience with it is limited, i'm sure it's not easy to generate the same hash as a valid one. again, for more security use multiple hashes for your passwords. consider using sha1 as well. dont hesitate to hash it more than once with each method!
also, why do you want to store passwords in afile? i thought it would be more secure if you store in in the database.
But i was not also sure if a php file could be downloaded using some dos commands,because i recently saw a video how a guy broke a site and downloaded a php file with its code onto his computer and got the password. Thats why i am unsure about all that chmod.