I add to .htaccess:

<files 1.png> Deny </files> 

The domain.com/1.png file still opens. How to prevent access to the file?

    1 answer 1

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