You really should never store a password as text in any file (they tend to
be readable with simple text viewers); rather, you should use a one-way
encryption scheme (store the encrypted password, on entry by a user, encrypt
his/her entry and check that against the stored encrypted password)... try
Google'ing "hash encryption" to get some idea of this technique.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.