-
htaccess problem
Hi all,
I'm having a little access problem.
My site is set up as follows:
gallery folder
...index.html
...entry.htm
...hidden folder
......thumbs.htm
Each gallery on my site is contained within it's own folder. I've placed the following htaccess file in each hidden folder to prevent bookmarking etc.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*mydomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*mancheck\.com/ [NC]
RewriteRule /* http://%{HTTP_HOST}/ [R,L]
I've had some people contribute some stuff to the stuff and as thanks, I gave them back door access through a folder that contained no htaccess file, but provided them with a list of all of the hidden thumbs.htm URLs. It worked for a while, now it's suddenly stopped working.
Does anyone know how I can prevent people from bookmarking the hidden pages (or cutting and pasting them) but how I can still give someone backdoor access to my site.
Thanks
Dzinerbear
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks