Author Topic: Protect Images using PHP and .htaccess  (Read 3231 times)

0 Members and 1 Guest are viewing this topic.

Offline sathishIPL

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Protect Images using PHP and .htaccess
« on: December 06, 2011, 02:20:34 PM »
Hi All,

How to protect a images in the folder?

for example anyone who knows 4images structure can access the exact image URL path to store the image

http://yourdomain/data/1/someimage.jpg

by typing the above image url ,user can download the images.

I know its not possible to protect the images in web directories 100%.

but by using php and .htaccess ,we can protect 90%.


Please guide me.


Thank you...!

br,
Satz

Rembrandt

  • Guest