I'd like to secure my admin panel from potential attackers. As I understand it .htpasswd files are a good way to do this, but I have had no success getting it to work yet. Does anyone have a working htaccess/htpasswd setup that I could implement on my site? Thanks. FYI I got to the stage where I could protect /admin but it was by adding a folder, and it didn't protect /admin-user etc. I need a solution that will protect all admin urls.
If you have access to server config you can use something like this: <Location ~ "/amember/admin.*"> AuthName "protected" AuthType Basic AuthuserFile /path/to/file require valid-user </Location>