Locking a directory to everyone but the local server

Asked

Viewed 23 times

2

Guys I use the Jquery Autocomplete plugin, and inside my server folder, I have a folder called Search, with several php files. I wanted to know how to block this folder, so that only my server has access to it.

I tried to do via . htacess, but it’s not working, see how I did:

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

Someone knows how to do it?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.