On 3 February 2010 16:07, Karl DeSaulniers <k...@designdrumm.com> wrote:
> Thank you all for your numerous responses.
> I hear you loud and clear. I was wanting to see if it would be less of a
> burden on the server and secure my images better to put the images inside a
> database, but
> as you all have almost uniformly stated, this would not be the best
> I currently have all my images referenced by url in my database and stored
> in a folder/s and I think I will keep it that way...
> Thanks for your 2 cents,
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
If you put the images OUTSIDE of the webroot/docroot/public_html
folder (whatever you have), then a user cannot directly navigate to
http://www.yoursite.com/images/image1.jpg would probably work.
Now, there is no way I can load image1.jpg from my browser. I have to
use getImage.php, which I assume would require me to login or
authenticate myself in some way.
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php