Ad

gibbons
asked Oct 16 2017
Answer
refer below example it may help you......
<Directory /var/www/html/fold/>
order allow,deny
allow from all
<Files ~ "\.(pdf|jpg)">
deny from 192.168.1.25
</Files>
</Directory>

arunkumarak
asked Oct 16 2017
edited Oct 05 2018
How to Block/forbidden web access for particular file
i need support to restrict some file like (.pdf,.js,.css...,etc) for remote user. they will not able to access that particular files on browser..