Today's Messages (on)  | Unanswered Messages (off)

Forum: Htaccess Questions
 Topic: direct access images htaccess ?
direct access images htaccess ? [message #1959] Mon, 06 September 2010 04:15
datto510  is currently offline datto510
Messages: 1
Registered: September 2010
Location: Australia
Hello,

I have an images in a directory that I want to protect from viewing by people finding out the direct link to the images.

I have a couple of ideas on how to do this, but cant seem to find a solution.

- only allow the images to be viewed when called via php
- automatically redirect the browser to another file eg index file when somebody tries to call a jpg file in the browser

I have tried a lot of rewrite codes but nothing will block the original images but still let the php file call them.

any ideas ?
Cheers.

[Updated on: Mon, 06 September 2010 04:15]


Current Time: Mon Sep 6 10:46:21 CEST 2010

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software