Password storage
Just out of curiousity, which is safer: storing hashed/encrypted passwords in a database of txt file?
I've been looking into writing a flat file script, alternatively, I was wondering if it would be safe to create a file called config.php, chmod it to 666 amd from the control panel 'build' the file contents and write it to the config.php file -- or edit it manually.
Which way should I go with this?
|