Location
  • Atlanta,
  • GA,
  • United States

Top Contributors

What is the best practice to hide images, docs, videos, mp3 etc., for website?

I have been using lot of images (high quality) and videos in my portal/sites. How to protect from easy access and copy it? I saw many sites they used to hide/rewrite the urls and could not be easily traced.
View Previous CommentsLoad All Comments (7)
Rank: Ace

Expert Comment

Rich Rumble2014-11-15 03:48 AMID: 133749
If a browser is rendering it, you already sent it. There is NO WAY to hide or obfuscate an image, doc, video or MP3 if you are linking to it, showing it, or allowing it to be downloaded. Take youtube for example, you can download the entire video if you look at the elements in the page.
If you don't want others to have it, don't make it public, use Google Drive, Dropbox, Box, SendSpace etc... Those services allow you to control who you share the data with, using controls like: having the URL, having a certain email address, having an account on the service.
There is nothing on this webpage that experts-exchange can hide from me, I can look at everything my browser can. If I am allowed to see it in my browser, I can copy it. That said, once you share something, even using Box or GDrive, the user you shared it with can share it too, it's only the initial part you can control, once it's shared with one person, it can be shared with others by them.
-rich
0
Rank: Genius

Expert Comment

Dave Howe2014-11-15 03:57 AMID: 133750
That said - if you have the skillset, you can modify the standard flv movie player to use a slightly different file format than flv, then modify your flvs to match - people then can't just rip them from the site, as they would also need your modified player. Make that player dependent on the file's location, and you can make it much harder to rip movies.
0
Rank: Savant

Expert Comment

btan2014-11-15 04:14 AMID: 133751
not necessary hiding but was thinking this access control based strategy from other foreign domain trying to access those stuff in your domain - maybe Cross-Origin Resource Sharing is of interest https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
0
Rank: Savant

Expert Comment

btan2014-11-15 04:52 AMID: 133756
another interesting is from the ImageMagick using cipher @ http://www.imagemagick.org/script/cipher.php
also beware of tineye and imagesearch which will surface similar images through reverse image search, and the norm means is to have robot.txt to tell these services not to crawl your site. At least they stated to obey robot.txt. Or manually do own scavenging and request the webmaster to remove it
0
Rank: Elite

Expert Comment

John2014-11-15 05:45 AMID: 133765
This is really a question for the regular Question and Answer forum here, not a general discussion group.
0
Rank: Genius

Expert Comment

DrDamnit2014-11-22 11:29 AMID: 135328
Loganathan,

The general rule of the internet (and data in general) is "if you can see it, you can get it."

I think you are going to hit a quick point of dimishing returns. If you are trying to stop hot linking to save bandwidth, then that's an easy set of rewrite rules. But, if you're trying to prevent people from stealing your stuff, you are quickly going to hit that wall.

You cannot prevent your images from being copied. Screenshots can steal anything. Your only option is to watermark the images so that credit is given (at least).
0