FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

How to make it impossible to copy and paste from webpage?

 


mikethm
I would like to know how do I make a page which the viewer will not be able to copy and paste content from the page?

Would appreciate detailed guide on how to do it.

Thanks in advance.
Roald
Place your content in an image or use flash but if someone wants it, he can just type it...
mariohs
Do you want to avoid copying content or images?
You can try to do it with javascript. Most users won't be able to copy it. But if an user really wants to copy, He'll manage to do it. There isn't really a secure way to protect your content, because anyways, the content will be passed to your browser, and you can then view the source.
Dougie1
You could use javascript to display the content then encrypt the javascript. People will get it if they want it though.

Also flash can be downloaded.
Hogwarts
In my opinion, FlashPaper is the best for what you want.

Pretty much the only way to get things from that are A: Copying and B: Decompiling the .swf which is bloody difficult.

You can even export from stuff such as Office Word, too.
mikethm
Thanks for the info guys.

The Flash Paper method seems the easiest to implement for me.

Wouldn't mind more suggestion however. Thanks again in advance.

I don't mind people being able to download it. I just don't want to make it easy for anyone to steal content without crediting me for me. So if they download it and use it elsewehere without redoing the stuff... they would end up with a link embedded in the document to my domain which is fine.

I understand that there is no way to stop someone determined anyway.
aningbo
its impossible for you to stop anyone from copying your contents or watsoever.

flashpaper is good but who wants to use flash in his/her website. some browsers have problems with flash and at times people specially newbies will face problem and so why bother.
ncwdavid
I saw something once in Javascript where you simply put the text in special tags. Then when they try and copy and paste it witht he Javascript code when they paste there is loads of hidden text that gets pasted so unless they want to spend a half an hour going through the text correcting everything they won't copy your text again. I tried to look around for it again but I can't find it but I only did a quick check so if you google it you might find it.
Azmo
as people said.. it's impossible to keep ur stuff perfectly safe.. anyways.. some stuff u can do to make it harder.. use javascript or css to enable right click.. yes this doesnt help much.. but it helps u get rid of the less skilled visitors that dont know other ways to get it..

hide as much as possible in ur css file.. downloading a css file will remove all enter spaces.. so the css will be written out in a long row with boxes (something like []) filling out the blanks.. takes some time to sort that out and all none serious ppl cut it and look for something else..

you can also (when you are 100% happy with your html) make a copy of it.. and keep it as it is.. and remove all blank spaces in your html.. (not between letters in a text, but between elements and stuff) will take some time to sort that out too for the person trying to copy..
mariohs
If you let me give another shot, I'd go for the javascript way. Although flash is easier, you will have accessibility problems, unless you don't care for it. With javascript, your content will still be available and the less skilled people will not be able to copy it. People that will look at your source code, disable javascript, navigate through lynx are more skilled people and won't have the "stealing culture".
Roald
Here are to topics handeling over your problem: http://www.frihost.com/forums/vt-40076.html and http://www.frihost.com/forums/vt-42650.html
Azmo
hm.. it's often enough to lock out the less skilled people.. since the good designers/coders do their own thing.. only reason I ever check someones code is to either

a) comment it, cause he or she asked me to
b) see if he/she solved a problem in a good way (better then my ways)
c) see wtf he/she have been doing cause the site is rly imba

however, I never copy anything unless it's like 1k rows of code and I wanna look it trough in peace...

Anyways, there should be no reason to worrie about the skilled people unless you are world professional designer/coder and absolutley must keep your code safe.. guess you would know how to protect it tho.. Smile
Tex_Arcana
Wouldn't it be fun if you could have a php script that decoded your webpage and showed it to a browser as normal. I say decode because the page would originally be coded in ....oh say Klingon (with Klingon fonts) so when they download your page all the see is a bunch of boxes (unless they are weird too and also have Klingon fonts but then that would probably freak them out as well)

Okay, make it easy, you write the page normally then run it through an encoder that outputs Klingon (I think I'm working too many 12 hour shifts, you know this has got to work better in python).
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.