Advertisement

How to add captcha on administrator login form.

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
arun914
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jun 19, 2017 5:34 am

How to add captcha on administrator login form.

Post by arun914 » Mon Jun 26, 2017 12:27 pm

Hi Everyone,

I want to add captcha on administrator login form for security purpose.

there is no option in joomla to add captcha there... can anybody help me.

Advertisement
gregsms
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 01, 2017 2:41 pm

Re: How to add captcha on administrator login form.

Post by gregsms » Mon Jun 26, 2017 12:52 pm

There are extensions available that add that but why? If security is the concern why not simply enable two-factor authentication?

arun914
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jun 19, 2017 5:34 am

Re: How to add captcha on administrator login form.

Post by arun914 » Mon Jun 26, 2017 1:06 pm

Thanks for your reply,

I have searched many plugins but they are only for the frontend view. I need captcha on backend admin login form :- www.example.com/administrator

Actually client is asking to add captcha for admin login.

User avatar
fcoulter
Joomla! Ace
Joomla! Ace
Posts: 1685
Joined: Thu Sep 13, 2007 11:39 am
Location: UK
Contact:

Re: How to add captcha on administrator login form.

Post by fcoulter » Mon Jun 26, 2017 4:37 pm

You can use JSecure: https://extensions.joomla.org/extension/jsecure/, this does this and quite a few other things.
http://www.spiralscripts.co.uk for Joomla! extensions
http://www.fionacoulter.com/blog my personal website
Security Forum moderator :: VEL team member
"Wearing my tin foil hat with pride"

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20667
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America/
Contact:

Re: How to add captcha on administrator login form.

Post by leolam » Mon Jun 26, 2017 5:05 pm

You can use the award winning extension Admintools by Akeeba for this nicely https://extensions.joomla.org/extension ... min-tools/

Not only helps you to protect your admin access but it offers you a lot more (read the docs)

Leo 8)
Joomla Professional Support Services
Over 35.000 support requests solved
Just contact us through the Joomla Support channels if you want help

User avatar
fcoulter
Joomla! Ace
Joomla! Ace
Posts: 1685
Joined: Thu Sep 13, 2007 11:39 am
Location: UK
Contact:

Re: How to add captcha on administrator login form.

Post by fcoulter » Mon Jun 26, 2017 9:36 pm

Actually Leo, I don't think admin tools does include this feature, either in the pro or free version.

There are a lot of features, so maybe I overlooked this. But it is not mentioned in the documentation either.

It does include the option to password protect the admin folder, which is useful, but not the same thing as adding a captcha. I mean it is arguable that this is at least as useful as what the client asked for, but still not what the client asked for. I am guessing that the OP wants to give them what they want. That's the annoying thing about clients, sometimes they have their own ideas. :)
http://www.spiralscripts.co.uk for Joomla! extensions
http://www.fionacoulter.com/blog my personal website
Security Forum moderator :: VEL team member
"Wearing my tin foil hat with pride"

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: How to add captcha on administrator login form.

Post by sozzled » Mon Jun 26, 2017 9:56 pm

fcoulter wrote:I am guessing that the OP wants to give them what they want. That's the annoying thing about clients, sometimes they have their own ideas.
I fully agree! Sometimes we have clients who think they know what's best. As software integrators we bash our heads against a brick wall and (sometimes) we take the line of least resistance and yield to our customers' demands only to find that, three days after the site's gone live, the added requirements have been removed (or the clients then realise that their ideas were impractical) and all our efforts have been wasted.

I have a simple rule when it comes to dealing with difficult customers. My rule is "sure you can have that feature but it will cost you an extra thousand dollars". That principle seems to work fairly well: put a price tag on implementing a non-standard feature, like a CAPTCHA on login, and see how the client reacts.

Let's all acknowledge that CAPTCHA is not foolproof; it doesn't prevent serious hackers from attacking a website. CAPTCHA may be effective against bots, but it's not effective against humans.

The first law of security is this: "The best way to keep something secret is to not tell people that you're keeping anything secret." Applying this principle is easy: if there's a reason to secure a website—in this particular case its the Joomla administrator site—don't "advertise" the fact that the website is a Joomla website.

We all know how to access the backend in Joomla: add /administrator to the domain name, right? But what if you did that and all that happened was that the frontend was displayed instead? In other words, what if you "hid" the address of the Joomla backend and only those people who had legitimate access to it knew the "hidden" location?

Yeah, if you have a client who insists that they want to add CAPTCHA to login, and no amount of reasonable argument can dissuade them from that opinion, offer them two alternatives: (a) offer to continue the implementation of the site in a standard way (i.e. without CAPTCHA) and suggest that they pay for you to engage a professional to add the CAPTCHA feature (and make a little profit on the transaction), or (b) refer your customer to this forum discussion topic and let them realise that what they're asking for is not best-practice site security.

User avatar
fcoulter
Joomla! Ace
Joomla! Ace
Posts: 1685
Joined: Thu Sep 13, 2007 11:39 am
Location: UK
Contact:

Re: How to add captcha on administrator login form.

Post by fcoulter » Mon Jun 26, 2017 10:30 pm

I have a simple rule when it comes to dealing with difficult customers. My rule is "sure you can have that feature but it will cost you an extra thousand dollars". That principle seems to work fairly well: put a price tag on implementing a non-standard feature, like a CAPTCHA on login, and see how the client reacts.
Yes but as I mentioned above, JSecure will do exactly this, for the price of a pot of tea and cake (in a fairly fancy tea shop), so charging a thousand dollars seems a bit unreasonable.

I don't think that the client's requirements are silly in this case, they just want what they want, and there is an extension available which will do it for them.

I think your point would be correct if they were asking for something really daft, but they aren't (in my view).
http://www.spiralscripts.co.uk for Joomla! extensions
http://www.fionacoulter.com/blog my personal website
Security Forum moderator :: VEL team member
"Wearing my tin foil hat with pride"

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: How to add captcha on administrator login form.

Post by sozzled » Mon Jun 26, 2017 11:23 pm

JSecure looks as if it does this—the ability to add a CAPTCHA to the administrator login form—yes, and at a modest price, too.

The point I was [awkwardly] trying to make is that, when a person asks for something that's not standard and is not considered "best practice" among the professionals who implement websites for paying customers, it's probably worth attempting to disincentivise them by putting a price tag on their requests. Remembering, too, that people will ask for "everything" and, in the cool light of day, they'll regret their decisions and ask for the added bits to be removed because those added things make life more difficult. Sometimes it's worth taking a gamble that, by putting a seemingly-high price tag on doing something, the client may still insist. So be it; money talks, doesn't it?

The main point—from a security perspective—is that CAPTCHA is ineffective (regardless of whether it costs money to implement it).

By default, CAPTCHA is not part of the login system for administering Joomla websites; there's a good reason for that: people (generally-speaking) don't want it!
arun914 wrote:There is no option in joomla to add captcha there ... can anybody help me.
That's right, there's no built-in option to add CAPTCHA to the administrator's login. The question was asked and various suggestions have been offered. It's no longer a "panel discussion" as to whether this feature is feasible; it's feasible and that's all that we can say. Whether it's desirable or beneficial, that's something for the end user to decide; whether or not it's free ... well ...

"Hey, I love your BMW: any chance that you could add pad-bolts to all the doors in addition to the existing security system?"

arun914
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jun 19, 2017 5:34 am

Re: How to add captcha on administrator login form.

Post by arun914 » Tue Jun 27, 2017 4:49 am

Website is in third party security audit they don't understand that it is in joomla cms.

They need captcha on admin form and captcha should not be of third party like google.

Then only they will give security certificate.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: How to add captcha on administrator login form.

Post by sozzled » Tue Jun 27, 2017 4:52 am

Use JSecure. Apparently this will give your customer what they've requested.

dwmolyneux
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sat Jul 15, 2017 8:23 am

Re: How to add captcha on administrator login form.

Post by dwmolyneux » Sat Jul 15, 2017 9:10 am

sozzled wrote: The first law of security is this: "The best way to keep something secret is to not tell people that you're keeping anything secret." Applying this principle is easy: if there's a reason to secure a website—in this particular case its the Joomla administrator site—don't "advertise" the fact that the website is a Joomla website.

We all know how to access the backend in Joomla: add /administrator to the domain name, right? But what if you did that and all that happened was that the frontend was displayed instead? In other words, what if you "hid" the address of the Joomla backend and only those people who had legitimate access to it knew the "hidden" location?
Hi. I was actually looking for a solution or how to regarding something else when I saw the OP's post and I read on I agree with what sozzled said. I have always felt that should be able to be done with hiding that admin location but I have actually not been sure where or how I would need to go to do this and not take down the rest of the site in doing so.

I have used Joomla before on several occasions but I'm still learning it and several version updates have happened since I last used it.

I do have questions about some things that I'm trying to do but as this not the place to post, I'll be posting them in their own thread/topic.

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2802
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: How to add captcha on administrator login form.

Post by JAVesey » Sat Jul 15, 2017 11:13 am

dwmolyneux wrote:[...I saw the OP's post and I read on I agree with what sozzled said. I have always felt that should be able to be done with hiding that admin location but I have actually not been sure where or how I would need to go to do this and not take down the rest of the site in doing so.
Check out the AdminExile plugin.

Does exactly this (and lots of other stuff too). Look no further.
John V
Cardiff, Wales, UK
Joomla 5.3.0 "live" site on PHP 8.3.16 and MariaDB 10.11.10 (with b/c plugin enabled)
Joomla 5.3.0 on MAMP Pro 7.2.3 with PHP 8.3.14 and MySQL 8.0.40 (with b/c plugin enabled)

Advertisement

Locked

Return to “Administration Joomla! 3.x”