0

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..

gibbons
asked Oct 15, 2017
1 Answer
0

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>
View More
arunkumarak
answered Oct 16, 2017
Your Answer
||||
x
 
100:0

Related News in How to Block/forbidden web access for particular file

Related News in How to Block/forbidden web access for particular file