1

Добавляю в .htaccess:

<files 1.png>
Deny
</files>

Файл domain.com/1.png все равно открывается. Как правильно запретить доступ к файлу?

1 ответ 1

0
<Files "index.php">  Order Deny,Allow  Deny from all </Files>

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.