InMotion Hosting Support Center

Allow only certain IP address or range to add/modify/delete files

Category: Joomla 25

n/a Points
2014-04-28 1:08 pm EST

Hits: 124
We have a Joomla 2.5x site, I would like only admins from a certain IP block to be able to add/change/delete files on the webserver.. meaning I don't care not only about Joomla files but even having access to the root folder and not allowing file uploads unless from one particular ip address..

is this possible?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2014-04-28 2:48 pm EST

You can certainly restrict access to any folder you want. Bear in mind this is 'all or nothing' access. Simply place an htaccess file in the folder you want to restrict and enter code similar to the following:

Order Deny,Allow

Deny from all

Allow from

Simply add more 'Allow' statements for more IP addresses/ranges to be granted access.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!