MySQL Forums
Forum List  »  PHP

Re: What do you do with the database user passwords?
Posted by: Paul Wheeler
Date: November 06, 2014 01:38PM

Peter Brawley Wrote:
-------------------------------------------------------
> > where do you put the connection username and
> password in order to stop them been found and keep
> it secure??
>
> Put them in a folder that (i) is
> notweb-visible yet (ii) can be found by
> your app scripts, eg if your home folder is
> myfolder on your web server, then your web
> documents root folder is something like
> myfolder/public_html. Create the directory
> myfolder/includes, which is outside the web
> document tree, and put files containing login info
> there.

Thanks for your reply Peter. This sounds like a good method. Is this standard practice in a multi user system?

Options: ReplyQuote


Subject
Written By
Posted
Re: What do you do with the database user passwords?
November 06, 2014 01:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.