php - How do I protect the database server? -


Currently, my database user and its password are quite easy to guess, e.g.

Database Users: dbadmin

Database PWD: Super + Company Name

What and how to generate a secure database password secure? Using MD5 or SHA ??

What should I pay attention to securing my database?

I am using PHP, thank you

if you are looking for There is a safe password generator, there are many tools to make the password strong. Keepass is the one I use, but you can also look in pwgen, apg, passgen or other.

  • To keep the database safe, you need to consider using the username / password combination in your scripts. One technique I have seen is often to insert credentials into a separate file and import all those places that they are required in such a way that you can have strict access rules on that file through your webserver and file system security settings. Are there.

    Security is a layered approach, and more precautions that you take more resistant will be malicious activity.


    Comments

    Popular posts from this blog

    c# - ListView onScroll event -

    PHP - get image from byte array -

    Linux Terminal Problem with Non-Canonical Terminal I/O app -