FAQ: How do I restrict directory access by IP address? - Joomla! Forum - community, help and support


overview

this can effective way protect joomla! administrator directory. other directory in public_html can protected in same way. method only works if have static ip address assigned you. attempting browse such directories using different ip address 403 forbidden error.

directions

1. in directory wish protect, open (or create) file called, .htaccess. (note dot @ beginning of file name.)

2. add following code file, replacing 100.100.100.100 in example static ip address plan allow:

code: select all


<limit get>
    order deny,allow
    deny all
    allow 100.100.100.100
</limit>


3. optional: can enter partial ip addresses, such as, 100.100.100. allows access range of addresses.

4. optional: can add multiple addresses separating them comma's.

code: select all

100.100.100.101, 100.100.100.102






Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support