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

Category: Joomla 25

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

Hits: 28
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.

OTHER ANSWERS

0

Scott
Staff
19,592 Points
2014-04-28 2:48 pm EST
Hello,

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 100.100.100.100



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?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a 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!

Need more Help?

Search

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: support@InMotionHosting.com
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!