October 29th, 2012, 08:36 PM
Disable user to copy website content and image
Any idea how to block the public to copy my website content and image?
Thank so much.
October 29th, 2012, 09:00 PM
What they can't grab is your PHP code.
October 29th, 2012, 09:22 PM
I have came across some website, when i want to click right click to copy the content, the website will prompt me "Copyright by company XXX".. and block me from copying the content. can't we do that in php?
same as image, when i right click to "Save as" one particular image, the system will also prompt me "Image under copyright of company XXX". thus i cant save.
really no idea in php ?
October 29th, 2012, 09:48 PM
And while that may have stopped YOU, it doesn't pose more than 15 seconds of a delay for me or Requinix.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.
October 29th, 2012, 10:50 PM
For your website to work you have to send some files to the user. Their browser. You must freely give over these files or else your website will not work. Since you've done that, I can look at those files and do whatever I want with them. I can make copies, look at the source, and perhaps even make changes to them (my versions, not the originals) while they're still in the browser.
That's why it's impossible to protect your content: because I already have a copy of it.
October 30th, 2012, 04:20 AM
and website mirroring software like WinHTTrack can take an entire backup of all public files found/linked to by your site
October 30th, 2012, 05:05 AM
I think you should completely forget this idea of "hiding" your content.
Secondly, this is extremely annyoing for all users. Unless you offer special information that can't be found anywhere else, people will simply leave your site. Wouldn't you do the same?
And last but not least: "Features" like this make you look like an amateur. They're completely useless (as already explained), and they're somewhat out of fashion. This stuff was popular in the 90s (together with Java applets, blinking fonts and colorful backgrounds). Modern sites are a bit more ... subtle.
Last edited by Jacques1; October 30th, 2012 at 05:09 AM.
October 30th, 2012, 05:13 AM
Instead of trying to hide your images etc why dont you just brand them with a watermark, nothing too ridiculous obviously but enough for someone to know where the picture came from.
That way of someone does copy and use your image you are getting free advertising from it anyway. Or they have to spend ages editing the photo to remove your watermark
October 30th, 2012, 05:30 AM
There's plenty of open source PHP libs that can add watermarks to your images - just give google a call
October 30th, 2012, 05:32 AM
I am well and truly appalled at the number of "web developers" that don't even understand how the web works.
Comments on this post
I ♥ ManiacDan & requinix
This is a sig, and not necessarily
a comment on the OP:
don't be a help vampire
October 31st, 2012, 08:05 PM
There are three simple ways to protect your website contents.
1. Disable copy and paste by selecting the contents
2. Disable of Right Click Mouse Button
3. Using CSS Elements in body tag -moz-user-select: none;
1. Apply this code in your html document inside the <body> tag
“ ondragstart=’return false’ onselectstart=’return false’ ” – to disable copy and paste
<body ondragstart=”return false” onselectstart=”return false”>
By applying this code, we can easily disable the drag and drop option in order to avoid copying the contents
2. Use this script in your html document before closing the </head> tag
By using this script, we can disable the Right Click Mouse Button in order to avoid draging/copying the images and contents
This script is specially useful to avoid copying the images
3. give security to the contents by using the css elements in body tag
EX: in css file
Comments on this post
October 31st, 2012, 09:59 PM
Rubbish. If I can see your website, then I ALREADY have a copy of it.
Originally Posted by henryc07
November 1st, 2012, 01:20 AM
Dude, even if your users understand the Internet as little as you, what prevents them from simply making a screenshot of your precious images? That's what I did as a kid.
But is this "stealing" really that terrible? Do you actually lose anything? And isn't sharing kind of what the Internet is about?
Simply put your content under your favorite licence and cut out all the outer stuff that just makes you look stupid.
Last edited by Jacques1; November 1st, 2012 at 01:22 AM.