Support

Admin Tools

#13222 Problem with Protecting administrator back-end with a password

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 10 August 2012 11:27 CDT

user57958
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.6
PHP version: 5.3.14
MySQL version: 5.0.95-community-log
Host: (optional, but it helps us help you)
Admin Tools version: 2.3.1

Description of my issue:

Hi, I'm new with AT PRO. Before I ordered and installed AT PRO on my Joomla was installed jSecure Authentication. After installation I set without problem Password for protecting Administrator and WAF. But when I try to change .htaccess I get some problems. At that moment I uninstall jSecure, but problem about setting .htaccess was same. I made uninstall AT PRO and again install. Setting and changing WAF working very well, but I can't set username and password for protecting Administrators login. When I put user name and password nothing happens. I can press back button, but admins login is not protected.
What can be problem?

Thanks in advance. Best Regards.

nicholas
Akeeba Staff
Manager
I am struggling to understand the issue you're trying to ask help with. If I understand you correctly, you tried using the "Password-protect Administrator" feature of Admin Tools and you believe nothing happens. This feature works by creating a .htaccess and a .htpasswd file in your administrator directory. So, the first thing to do is to check that these two files are there.

Next up, try visiting your site's back-end with a different browser, ideally from a different computer. If it asks you for a username and password everything is working normally. What happens is that your original browser (the one you used to password protect the administrator) may have already cached the username and password. This is normal and all browsers do that. The idea is that they don't want you to have to type the same username and password every time you visit a page in the backend of your site.

If this still doesn't help, please ask your host if the support using .htaccess files. Not all hosts support that. If you are hosted on GoDaddy please note that you have to wait 10 to 30 minutes before any change in .htaccess files takes any effect. Moreover, GoDaddy being the crappiest of crappy hosts, doesn't allow using .htaccess in any directory except the site's root. If you are on GoDaddy my one and only advice is: change hosts, a.s.a.p.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user57958
When try do that with other browser (Chrome) all works fine. AT PRO generated two files in administrator folder and protection works. When I tried to access as administrator with may standard browser (FF), first thing was entering user name and password. All is Ok.
Thanks a lot.
Best Regards.

nicholas
Akeeba Staff
Manager
Great! You can always clear Firefox' cache, quit it and restart it. When you try accessing your site again it will ask you for the username and password. I remember I had to do that a lot when I was developing and testing this feature :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!