Blocking a directory for everyone except the local server

1

I use the JQuery Autocomplete plugin, and inside the folder of my server, I have a folder named Search, with several php files. I would like to know how to block this folder so that only my server has access to it.

I tried to do via .htacess, but it is not working, here's how I did it:

Order Deny,Allow
Deny from all
Allow from 11.12.4.41  # Aqui eu coloquei o ip locar do meu servidor

Does anyone know how to do this?

    
asked by anonymous 24.08.2016 / 13:24

0 answers