| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | content protection - disable clipboard Amazon.com has a nifty little javascript that disables clipboard data, effectively preventing screen captures, as well. (Check out the code to any page showing "inside the book.") The problem is it only works on IE, and it only prevents screen captures if that window is the top/active window. Does anyone know a better code to implement that would work on all browsers, maybe using php or something? Can .htaccess block all access to any filetypes being accessed from any outside (or no) server? (forcing people to use your page to see files - which won't allow them to copy to clipboard). Is there any sort of DRM for images? Is there anyone who has developed a Perfect content protection system? I know some artists who want to put their work on the web but are afraid of theft. (they don't want to use watermarks)
__________________ www.headlinercreative.com |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | The fact of the matter is, once the data leaves your server, you have no control over it. If you want real DRM, you need to write some kind of clientside app with DRM functions and protect the network path with encryption. |
| |
| | #3 (permalink) | ||||
| NamePros Regular Join Date: Feb 2005
Posts: 343
![]() |
| ||||
| |
| | THREAD STARTER #4 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | Yea, I know, I guess nothing's perfect... There's got to be a way, though...
__________________ www.headlinercreative.com |
| |
| | #5 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | Here's a thought...try a little obfuscation: It's a known fact that native speakers of Latin-text based languages (english and similar alphabets, not cyrillic and kana-based or ideographics) don't parse entire words when reading. That known, you can obfuscate your text by rearranging all but the first and the last characters of any word, and it will somehow be legible. This will be a pain in the ass to someone tryin to copy it, but will not impede their ability to read it for the most part. Just a thought |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | lol!! That's a funny idea...However, what I want to figure out is how to protect images.
__________________ www.headlinercreative.com |
| |
| | #7 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | I understand you don't want watermarks, by which I assume you mean visible ones that mar the image. I don't have much info on it, but you can digitally watermark images such that the watermark only shows up with proper software, and there is no way to detect or remove the watermark. What this would give you is proof that your image was stolen if used elsewhere, whcih you could use in legal recourse to order the thief to cease using your images. |
| |
| | THREAD STARTER #8 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | Yea. I guess I'll just have to use lo-rez. Easy enough to prove an image is yours by just showing an original, hi quality file. I can chop it up and put the image in a table to make it more difficult to copy. I can offer closeup shots of certain areas to show detail. Oh well. I was hoping for a technological solution to simply prevent people from being able to copy the file. ????: NamePros.com http://www.namepros.com/programming/112002-content-protection-disable-clipboard.html I've come across some programs like this: HTML Protector Does anyone know if/how this works? Is this really something simple that they are trying to repackage for a quick $30?
__________________ www.headlinercreative.com |
| |
| | #10 (permalink) | ||||
| NamePros Regular Join Date: Feb 2005
Posts: 343
![]() |
| ||||
| |
| | #11 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | He said "make it more difficult" not "make it impossible"... Anyway, this will prevent image harvesters from getting the pic too. No matter what you do, you will still have someone smart enought to get past it. And if your site is popular enough, so will be the knowlege of how to beat your copy protection...look what happened with WGA and WPA and the like with windows...and they have ENTIRE TEAMS of people working on that. |
| |
| | THREAD STARTER #12 (permalink) | ||||
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=112002 Breaking it all down, the key issues are: 1. the path of the file 2. disallowing all access to the file from code outside your own 3. preventing clipboard (screen cap) I'm a terrible coder, so I'll just ask if anyone knows if this stuff is possible: 1. can php be written to create some bizarre method of calling the file, so that the path can't be figured out? Like having a confusing folder hierarchy? Or the files be in some secure database? 2. can .htaccess prevent all access to specific file types if they are not called from a specific code? 3. can a "no clipboard data" script be written that is compatible with all browsers, not just IE? (Does it have to be javascript? Can it be php?)
__________________ www.headlinercreative.com | ||||
| |
| | #13 (permalink) | ||||
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=112002 I dont think .htaccess files can help you. If you're worried about hotlinking (accessing your image from a site not your own) ask your host about hotlink protection. You can always use PHP to generate a temporary file and path and give that to the page, so in an hour it no longer exists at that location. | ||||
| |
| | THREAD STARTER #15 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | Here's the whole "protection" code (ironically, I copied it) from Amazon: Code:
<!--
var copyright="Please respect the copyright of this material.";
function noRightClick(e) {
if (document.layers || document.getElementById && !document.all) {
if (e.which == 2 || e.which == 3) {
document.captureEvents(Event.MOUSEDOWN);
// alert(copyright);
return false;
}
} else if (document.all && !document.getElementById) {
if (event.button == 2) {
// alert(copyright);
return false;
}
}
}
function noContextMenu(e) {
return false;
}
function noClip(e) {
if(document.all) {
window.clipboardData.setData("Text", "");
}
return true;
}
document.onblur = noClip;
document.onmousedown = noRightClick;
document.oncontextmenu = noContextMenu;
// -->
__________________ www.headlinercreative.com |
| |
| | #16 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | 1. you cannot stop people stealing your images, text or other random stuff. if its on there computer they can get it 2. javascript is no good and limits users. what about text based users? or people that have js disabled? 3. dont even think about flash. it can be decrypted and can still be stolen. the only way to keep your content safe is upload it to a webserver and shut the server down. |
| |
| | THREAD STARTER #17 (permalink) | ||||
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=112002 lol oh well. I guess it can't be done/no one knows.
__________________ www.headlinercreative.com | ||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Legal Protection for your Website or Hosting Business? We Can Help. | zerdomains | For Sale / Advertising Board | 0 | 07-24-2005 07:32 PM |
| Good Article: An SEO Checklist | Ferman | Search Engines | 2 | 05-28-2005 11:51 AM |
| Clipboard Buddy | dgridley | Free Resources | 2 | 05-03-2005 09:07 PM |
| Start Making Money With Your Own Content Rich Website | trishan | Content For Sale | 13 | 04-05-2005 11:29 PM |
| Chapter 18 Other Content | WebForging | Webmaster Tutorials | 3 | 03-20-2005 04:15 PM |