If you have access to .htaccess or you can create one, simply follow this :
1. To deny all requests for the restricted directory or folder, prepare a .htaccess text file in that directory and put the following directive in it:
deny from all
2. ALLOW AND ENABLE ACCESS FROM CERTAIN IP
Say you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.