SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast Bilal's Avatar
    Join Date
    Oct 2002
    Location
    Planet Bob
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Restricting Direct Download/Viewing of Images

    Hi,
    I run a wallpapers site, and want to restrict/disable the direct viewing/downloading of images... for example:

    I want to disable that if a user type the image url for direct downloading like that: http://www.mysite.com/somedir/image.jpg he will get a permission error!

    I only want to allow the download/viewing of the image within my pages like user clicks on a link wihin the pages to view/download the image!

    I saw this example on a russion wallpaper site I thing this can be done through .htaccess...

    Any help and idea appreciated

    Thanks,
    Best Regards,
    Bilal

  2. #2
    SitePoint Guru kish's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    923
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    does your host give you cPanel? You can do it through there easily enough..
    Fast Fwd Multimedia
    Web, IT & Cloud Computing Consultancy
    Currently looking for web freelancers. Get in touch!

  3. #3
    SitePoint Enthusiast Bilal's Avatar
    Join Date
    Oct 2002
    Location
    Planet Bob
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes I have Cpanel Latest version... but if you are talking about "Hot Link Protection" then that's not what I am looking for!
    Best Regards,
    Bilal

  4. #4
    SitePoint Enthusiast Bilal's Avatar
    Join Date
    Oct 2002
    Location
    Planet Bob
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, here is an example:
    http://www.xmwallpapers.com/wallpaper/

    try to download the image directly:
    http://www.xmwallpapers.com/wallpape..._space_008.jpg

    Please provide some help...please.....
    Best Regards,
    Bilal

  5. #5
    SitePoint Enthusiast Bilal's Avatar
    Join Date
    Oct 2002
    Location
    Planet Bob
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok....I got it! i edited the .htaccess file and now it is working fine
    Best Regards,
    Bilal


Bookmarks

Posting Permissions

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