Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Prevent image file from being opened

    I've noticed on some websites, if you get the direct link of an image and paste it into the browser location bar, it redirects to the homepage or a 404 page instead of showing the image.

    Anyone know if this is easy to do or does it require a lot of scripting?

    I'd assume it could be done via .htaccess somehow??

    Thanks in advance.

  • #2
    New Coder
    Join Date
    Apr 2011
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Do you mean to prevent image hot-linking? Here is some information: http://www.alistapart.com/articles/hotlinking/


  •  

    Posting Permissions

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