• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Protect /phpmyadmin ??

Zakhran

Pace
Joined
May 7, 2012
Messages
252
Reaction score
6
Location
Detroit, Michigan
Hi all, I need help now with how to protect phpmyadmin, i mean, you can access my server's phpmyadmin login page by typing mywebsite.com/phpmyadmin, I know that I need to use a htaccess file or something like that but I don't know what exactly do, i'm using ubuntu.
THANKS
 
You can begin with changing URL access to phpMyAdmin.

Example: mywebsite.com/test instead of mywebsite.com/phpmyadmin

apache.conf or lighttpd.conf w/e web server you are using
Code:
Alias /test /usr/share/phpmyadmin

IP restriction (.htaccess)
Code:
allow from 123.45.67.89

Look into HTTPS as well since it can leak sensitive data and passwords to an attacker
 
Last edited:
I didn't understand at all, I can't find any file called lighttpd.conf or apache.conf on /usr/share/phpmyadmin.
And where to create the htaccess file? Im very new on this, If you can explain a little better i would be grateful

Thanks a lot !
 
Look in /etc/phpmyadmin and create the .htaccess in your phpmyadmin folder.
 
Back
Top