Protect image in a folder and subfolder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VforVendetta
    Confirmed User
    • Mar 2006
    • 2525

    #1

    Protect image in a folder and subfolder

    I have created a .htaccess file with this line:

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://tannedbrunette.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.tannedbrunette.com/.*$ [NC]
    ReWriteRule .*\.(gif|jpg)$ - [N,F,L]

    But if you try to link an image it doesn't work



    Which is the problem ?
    Free the world
  • VforVendetta
    Confirmed User
    • Mar 2006
    • 2525

    #2
    Ok, now work.. i have upload it in ASCII mode
    Free the world

    Comment

    • VforVendetta
      Confirmed User
      • Mar 2006
      • 2525

      #3
      Is possible exchange the invisible image with a custom image ? I have seen many site do it
      Free the world

      Comment

      • sfera
        Confirmed User
        • Aug 2005
        • 8597

        #4
        yes you can google that i dont know it off hand but have seen some funny images ppl put in their place

        Comment

        Working...