Page 1 of 1

Secure Files per User

Posted: Fri Apr 04, 2008 11:57 pm
by tecktalkcm0391
How can I prevent a user from accessing another user's images/files... even if they get the URL correct for the image files of the filename+date md5ed


Edit: Just thought of it... have files served like images.php?imageID=82849 and check for session with correct username before serving that image.... am I right? open to any ideas/suggestions though

Re: Secure Files per User

Posted: Sat Apr 05, 2008 12:28 am
by Mordred
Yep, you got it. The term is "authorization".