Как ограничить IP-адрес на основе сайта в сайте Joomla? - PullRequest
2 голосов
/ 18 марта 2011

как ограничить IP-адреса на основе веб-сайта на сайте Joomla?

Ответы [ 2 ]

2 голосов
/ 18 марта 2011

Вы можете использовать .htaccess

#require authentication of requests
AuthName "Restricted Area"
AuthUserFile /var/www/.htpasswd
AuthType basic
Require valid-user
#deny access to all, allow for selected ip's / domains
Order Deny,Allow
Deny from all
Allow from 123.123.123.123 googlebot.com google.com google-analytics.com
#if any of these rules are satisfied they may proceed
Satisfy Any

Вам нужно будет добавить файл пароля.

1 голос
/ 18 марта 2011

http://extensions.joomla.org/search?q=ip

Есть другие расширения, делающие это. Вы можете найти некоторые из них здесь!

...