I’m trying to write a simple .htaccess script to prevent users from viewing contents of a certain directory on my site.
Basically, I need to make this directory accessible by script only.
I know this much:
deny from all
allow from 184.108.40.206
However, I don’t know the IP address of my server. Or, should I use a domain?
Really appreciate any help.