How to protect images/stories directory from direct access? - Joomla! Forum - community, help and support


hi.

i struggling find way protect images located @ joomla images/stories directory. want deny direct access images/stories , every other subfolder inside directory except if called directly pages hosted on own server , logged in users.

i don't want images accessible typing image's url in user's browser.

is there solution this?

reza wrote:hi.

i struggling find way protect images located @ joomla images/stories directory. want deny direct access images/stories , every other subfolder inside directory except if called directly pages hosted on own server , logged in users.

i don't want images accessible typing image's url in user's browser.

is there solution this?


if want code it, move images outside of web accessible directory , change code to checking of referrer tags.

if lucky, use lighthttp , use it's built in functions , little recoding create unique image links every image/web session.

but, barring coding changes, , assuming have apache server with, use htaccess file.  googling "htaccess ant leech" first link gives formula use:
http://www.xentrik.net/htaccess/antileech.php





Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor