Hi

 

store the image behind the root directory.

 

/home/user/public_html/index.html

 

put image in folder under user direcotry. then make a downloadable script pass 
encoded key to identify the user and what image you want to view then load the 
image.

 

 

Hope this helps

Mohammed Alsharaf

http://www.safitech.com
 
> Date: Thu, 2 Jul 2009 20:36:16 -0700
> Subject: [phpug] password protected file download
> From: [email protected]
> To: [email protected]
> 
> 
> Hi all:
> 
> I want a user to login into our web base system to view a picture.
> I knew i can store the picture into Database to prevent unauthorized
> access.
> 
> but except store pictures into DB, are there other way to do it?
> I really want to just provide a url link, but i do not how to prevent
> unauthorized access
> if i just store picture under web server, every one can see it.
> 
> regards,
> 
> anru
> > 

_________________________________________________________________
Brrr... its getting cold out there Find someone to snuggle up with
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Enz%2Emsn%2Ecom%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1048628&_t=773568480&_r=nzWINDOWSliveMAILemailTAGLINES&_m=EXT
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to