Possible to block IP address on /administrator screen?

Discussion regarding Joomla! security issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
baggiesmad
Joomla! Explorer
Joomla! Explorer
Posts: 419
Joined: Tue Feb 21, 2006 11:10 am

Possible to block IP address on /administrator screen?

Post by baggiesmad » Thu Aug 07, 2008 2:30 pm

Is it possible or is there an extension available that blocks certain IP addresses or only allows certain IP address accessing the location...

http://www.mysite.co.uk/administrator/ ???

Any help would be great.

Thanks

komang
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Tue Feb 26, 2008 1:47 pm
Location: Bali - Indonesia
Contact:

Re: Possible to block IP address on /administrator screen?

Post by komang » Fri Aug 08, 2008 1:52 pm

Hi,

You can deny access based upon IP address or an IP block, with create new .htaccess file in your root administrator folder. Add this code into your .htaccess file :

<Files .htaccess>
order allow,deny
deny from all
</Files>

<Limit GET>
Order Deny,Allow
Deny from all
Allow from 123.45.6.7
</Limit>


Above code will block all IP to access your admin folder, and only allowed for IP address your entered
hope can help you.

mbrown
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 198
Joined: Sat Jun 14, 2008 4:44 pm

Re: Possible to block IP address on /administrator screen?

Post by mbrown » Fri Aug 08, 2008 10:25 pm

You can use the block IP system plugin. I use that to whitelist only certain IPs to access to the /administrator area.

Mike

Ban IP Address/Range for 1.5

baggiesmad
Joomla! Explorer
Joomla! Explorer
Posts: 419
Joined: Tue Feb 21, 2006 11:10 am

Re: Possible to block IP address on /administrator screen?

Post by baggiesmad » Wed Aug 27, 2008 11:38 am

mbrown wrote:You can use the block IP system plugin. I use that to whitelist only certain IPs to access to the /administrator area.

Mike

Ban IP Address/Range for 1.5
Thats what im after but need it for joomla 1.0+

User avatar
ircmaxell
Joomla! Ace
Joomla! Ace
Posts: 1926
Joined: Thu Nov 10, 2005 3:10 am
Location: New Jersey, USA
Contact:

Re: Possible to block IP address on /administrator screen?

Post by ircmaxell » Wed Aug 27, 2008 11:42 am

vannquish wrote:
mbrown wrote:You can use the block IP system plugin. I use that to whitelist only certain IPs to access to the /administrator area.

Mike

Ban IP Address/Range for 1.5
Thats what im after but need it for joomla 1.0+
Then you might want to post in the apropriate forum...

Moving post...
Anthony Ferrara - Core Team - Development Coordinator - Bug Squad - JSST

http://moovum.com/ - The Bird is in the air! Get Mollom Anti-Spam on your Joomla! website with Moovur...
http://www.joomlaperformance.com For All Your Joomla Performance Needs

reddove
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Tue Jun 10, 2008 4:11 am

Re: Possible to block IP address on /administrator screen?

Post by reddove » Tue Feb 01, 2011 1:55 am

Tired this and I did not work. Had some person from Russia attempt to hack into my site again.

clu55ter
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Fri May 29, 2009 8:34 pm
Location: Bolton UK
Contact:

Re: Possible to block IP address on /administrator screen?

Post by clu55ter » Thu Sep 08, 2011 10:29 am

komang wrote:Hi,

You can deny access based upon IP address or an IP block, with create new .htaccess file in your root administrator folder. Add this code into your .htaccess file :

<Files .htaccess>
order allow,deny
deny from all
</Files>

<Limit GET>
Order Deny,Allow
Deny from all
Allow from 123.45.6.7
</Limit>


Above code will block all IP to access your admin folder, and only allowed for IP address your entered
hope can help you.
Thank you very much for this information, I'm running a joomla 1.7 website and I created a .htaccess file in the root folder of Administrator with this code and where it says allow from I put in my ip address and now it has stopped any one accessing the joomla back end from a different ip address then mine!.

Thank you very much for this post!!

By the way I have the ip address of the person who had tried to access the back end of my site, is there anything I can do anything about it i.e. report it to anyone?

Thanks
Tony

User avatar
mandville
Joomla! Master
Joomla! Master
Posts: 15150
Joined: Mon Mar 20, 2006 1:56 am
Location: The Girly Side of Joomla in Sussex

Re: Possible to block IP address on /administrator screen?

Post by mandville » Thu Sep 08, 2011 1:50 pm

clu55ter wrote: Thank you very much for this information, I'm running a joomla 1.7 website
plase use the correct forum, this is for j1.0.x and not j1.7
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}


Locked

Return to “Security - 1.0.x”