Enable and disable phpmyadmin

recently had to beefup securuty for my VPS. For ssh, I used a sequence of port knocking to open ssh. Now wondering how to enable/disable http://host.com/phpmyadmin by running script.
Roslan RamliAdvisorAsked:
Who is Participating?
 
Rich RumbleConnect With a Mentor Security SamuraiCommented:
PHPMyAdmin can be made very secure using https and more...
http://www.phpmyadmin.net/documentation/#authentication_modes
You could copy config.inc.php to or from a dir, you could change permissions on config.inc.php as well via a script if you wanted...
-rich
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.