Link to home
Start Free TrialLog in
Avatar of debbieau1
debbieau1Flag for United States of America

asked on

Preventing access to images

I know how to code to  restrict access to php pages, but I am wondering how to prevent images being download, if someone knows the path (without going via the web app).

I want to make sure only my registered users with the right credentials can access them, but restrict others from accessing them with the path.

I am not concerned about the authorised users, with the correct credentials from accessing or even downloading them.  I just want to make sure for security reasons, that they cannot be accessed unless the person has the correct credentials.

I would appreciate advice here.  I am not sure if this needs to be done at the server level or the app level.
SOLUTION
Avatar of mrjoltcola
mrjoltcola
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of debbieau1

ASKER

Thanks everyone they were all very useful