Results 1 to 6 of 6

Thread: image stealing

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    30

    image stealing

    i have a question:

    i have a website and i dont want other people stealing the images from a specific folders.

    i know i can make the entire domain secure by editing .htaccess file (i have apache server).

    but i wanted only specific folders. my question is, how will i do that? i dont think this is working:


    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite\.com/.*$ [NC]
    RewriteRule /folder1.*\.(gif|GIF|jpg|JPG)$ [G]
    RewriteRule /folder2.*\.(gif|GIF|jpg|JPG)$ [G]


    i hope some perl coders out there can help

  2. #2
    You can always take a screenshot. Don't forget that!

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    30

    image hot linking

    oops. i mean image hot-linking not image stealing. it is annoying because it is consuming too much bandwidth.

  4. #4
    Senior Member
    Join Date
    Apr 2002
    Posts
    317
    Prevent "Image Theft"

    This example shows how to keep people not on your server from using images on your server as inline-images on their pages. This is not a recommended configuration, but it can work in limited circumstances. We assume that all your images are in a directory called /web/images.

    SetEnvIf Referer "^http://www.example.com/" local_referal
    # Allow browsers that do not send Referer info
    SetEnvIf Referer "^$" local_referal
    <Directory /web/images>
    Order Deny,Allow
    Deny from all
    Allow from env=local_referal
    </Directory>


    taken from: http://httpd.apache.org/docs/env.html, very last bit...

    another more extensive tutorial is here:
    http://www.serverwatch.com/tutorials...le.php/1132731

    I hope this helps.
    Regards,
    Chefer
    \"I believe that you can reach the point where there is no longer any difference between developing the habit of pretending to believe and developing the habit of believing.\"


  5. #5
    AntiOnline n00b
    Join Date
    Feb 2004
    Posts
    666
    Hi,
    Yes i agree cf_jet image hot-linking is a very serious problem. There are two levels at which you can prevent it first is at the web server level. In apache this is typically implemented using the mod_rewrite module, while in iis this would be implemented using an isapi filter.

    The second is to use a scripting facility such as apache + php or iis + asp to control access to the resources to be protected from hotlinking.


    • You can prevent this do this by placing a '.htaccess' file in the folder where your images are stored. Check This link out it guides you how to do it and then you can check whether they are protected or not
    • Creating a A browser cookie will also be helpful. However, as concerns for privacy grow on the internet, increasing numbers of users are using inaccurate http-referer headers and turning off client browser cookies.
    • You can Get Tools Such ColdLinks to Cool the Hot Links


    Check these links out


    --Good Luck--

  6. #6
    Senior Member
    Join Date
    Jun 2003
    Posts
    219
    you can put your logo at any corner of the picture/image...
    over that here are few more links you can check:
    http://webreference.com/multimedia/watermarks.html
    http://www.lucidimages.net/copyright.html
    Now is the moment, or NEVER!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •