How can I prevent images from displaying on a specific IP? Make it so that they simply do not load for them.
1 answer
It is possible to issue an error with its contents instead of pictures for banned ip 403. The output file can be made empty.
ErrorDocument 403 http://сайт.ru/путь_до_вашего_файла_выдаваемого_пользователю_при_отказе_в_доступе.htm <FilesMatch "\.(png|gif|jpg|jpeg)$"> Order Allow,Deny Allow from all Deny from 127.0.0.1 запрещенные ip </FilesMatch> |