Hi If you leave images in an images folder and simply put an index.html in the folder there's nothing stopping a member from getting the link to the image (right click and copy image address, or similar) and pasting that to a friend or anywhere else on the internet.
The best method IMO is to use a htaccess file to redirect all requests through a simple php script, and store the images outside of the public_html folder, or in an obsficated place (e.g., /data26217/). After this you can use something like a http download class (see http://www.phpclasses.org/browse/package/2221.html) to send the files to the viewer. Wrap this with some simple session checking and that should do the trick! :) Phill On 28/06/06, Mike Brandonisio <[EMAIL PROTECTED]> wrote: > > 1) you can store image files outside of the public root and use php > to display them. > > 5) use htacess on the image folder and use php to authenticate users. > > Anyone else have suggestions. > > Sincerely, > Mike ---------- RewriteEngine On RewriteBase /path/to/site/ RewriteRule ^images/(.*) /images.php [QSA,L] [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
