Keeping images secure
Posted: Mon Jul 12, 2004 11:13 pm
I have the following folders on my host server.
etc
mail
public_ftp
public_html
tmp
www
Apparently everything I put in "public_html" will be seen by online viewers as my site. As I want to have clients access their images via a password system, someone advised me to have a folder outside this to store the images and have php load the images via a path to that folder...that way no unauthorised access can happen.
If I was to do this, do I just add another folder to the folders here. Example, add the folder /Clients/Weddings/Smith/
As you can see I am fairly new to PHP...but I want to do it properly.
etc
public_ftp
public_html
tmp
www
Apparently everything I put in "public_html" will be seen by online viewers as my site. As I want to have clients access their images via a password system, someone advised me to have a folder outside this to store the images and have php load the images via a path to that folder...that way no unauthorised access can happen.
If I was to do this, do I just add another folder to the folders here. Example, add the folder /Clients/Weddings/Smith/
As you can see I am fairly new to PHP...but I want to do it properly.