You could make a page like this: images.php.
And refer to this page in the image tag (src):
<img src="images.php?imagename=
If you make the images.php file output as an image and load the image named $imagename, no one could see where your images are placed. You will need to put all the images in one folder (to make it more simple, it's not nessecary).
So if someone looks at the properties of an image, he/she will only see the src as images.php?imagename=mypic
I would also use the index.html solution as VGR said. But I would use a index.php with a "page not found 404" header. This way people will think the folder doesn't excist.
Hope this helps,
--Paul
Main Topics
Browse All Topics





by: VGRPosted on 2002-11-21 at 00:04:41ID: 7477053
almost impossible
It will ALWAYS be deductible by looking properly at the HTML code
You may have a "first level" protection (hiding, rather) by using the status bar (TITLE, label, etc)
I would suggest to put a fake index.html page in the directory of the images, so that indelicate users are redirected to your real index page somewhere. Use Header("Location: ...");