On 5 February 2010 09:08, elk dolk wrote:
>> --
>> > I have my photos in /public_html/img/gid directory and
>> with this path:
>> > > getImage.php the server displays the photos.
>> >
>> > Now if I put my photos outside of the public_html lik
> --
> > I have my photos in /public_html/img/gid directory and
> with this path:
> > getImage.php the server displays the photos.
> >
> > Now if I put my photos outside of the public_html like
> this:
> > /hidden_images/img/gid
> >
> > wh
elk dolk wrote:
On 3 February 2010 16:07, wrote:
I currently have all my images referenced by url in my database and stored
in a folder/s and I think I will keep it that way...
..
If you put the images OUTSIDE of the webroot/docr
If its outside the html root you would need to create a symlink pointing
to the appropriate folder
%> ln -s /path/to/hidden /path/to/public *however this is very insecure
Then if your wise you could create a simple image serving script to
prevent direct navigation by checking the referring pag