Reply to Re: Securing public images

Your name:

Reply:


Posted by Tom on 06/19/07 16:56

On Mon, 18 Jun 2007 18:22:51 -0000, cbmeeks wrote...
>
>I have a photo sharing site that takes a photo once it is uploaded and
>copies it to a NON browsable location so that it can not be browsed
>directly.
>
>Then, when you want to view it, I load it in PHP and send down the
>custom header. That way, I can control security, bandwidth, etc.
>
>Works great. However, it's very demanding and it simply can't serve
>the data as quickly as a static image in a browsable location.
>
>So my question is, is there any way the file can be static (as in, not
>dynamically created with a custom header) and still have all of my
>custom security and bandwidth code?
>
>Flickr allows you to make a file private. Yet, if you happen to find
>out the URL, anyone can browse it! I mean, it would be impossible to
>guess the URL but if it ever got out then you couldn't prevent people
>from looking unless you deleted and re-uploaded.
>
>I don't really want to go that route.
>
>Thanks
>cbmeeks
>


Does the program you're using to generate the dynamic image have the ability to
output to a file? If you're just re-generating the same image, it would probably
be more efficient to output that to a static file and control access to that
file and/or directory.

Tom
--
Newsguy.com - Unlimited Accounts
Now with 32 concurrent connections

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация