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 22.214.171.124
However, I don’t know the IP address of my server. Or, should I use a domain?
Really appreciate any help.