Passwords as plain text

    Date: 04/12/05 (PHP Community)    Keywords: database

    Right now, I am storing my database password as plain text in a file on a shared server. I recently figured out that anyone with access to the server can read this file, and thus retrieve my database password. Other than making sure that only authorized people(i.e., me) can access that file, what can I do to make this set-up more secure? Is there a good and relatively painless way to encrypt and decrypt it?

    [EDIT]I am looking for a secure way to store the database password, not passwords in the database. Thanks!

    Source: http://www.livejournal.com/community/php/283722.html

« Forms that email - help? || email attachments in php... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home