2

This is probably true for other languages as well. I've created several websites by now, many of which use databases (usually mySQL). I need to store the database password somewhere in the sourcecode, but this seems like a security problem, and a a bit like a hack. Is there a better way to store the password, apart from a config file which is included everywhere I need to use the database?

Duplicate: How to secure database passwords in PHP?

1 Answer 1

1

a config file that isn´t reachable from outside, sotre ist somewhere exept of htdocs etc.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.