Sheena Roy
asked on
How to make a url password safe using htacess ?
I'm trying to hide admin directory for a https://www.putmeonline.net/. The reason is that because I have to mention disallow path in robots.txt. That's a security risk. I just need a solution so I can hide the admin page using username & password using htacess. Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Guys
chown www-data:www-data /var/www/.htaccess
If it is an admin page, enforce 2FA for such login. Here is one implementation example.
http://m.linuxjournal.com/content/two-factor-authentication-system-apache-and-ssh?page=0,1