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:
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.
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
Post a Comment