Web Hosting Talk







View Full Version : Can you prevent people from saving your web pages?


Randy B
10-17-2001, 06:13 AM
I was wondering if there is a script that you can put into your html or some other code that would make it so that noone can save your web pages and steal your graphics?

If there is such a thing please let me know where I can find it.


Randy?

novanix
10-17-2001, 08:03 AM
prevent code stealing can be done, yes however prevent graphic stealing cannot because everyone can just hit the print screen button and take a picture of your screen. Code stealing can be done through reffers + time checks.

Domenico
10-17-2001, 09:04 AM
Your code can allways be stolen! When it's on the screen, it can be seen, ehm the code I mean ;-)

slade
10-17-2001, 10:53 AM
Put it on a floppy, lock it in a small safe, secure it at Ft Knox.

That's as close as you'll get to it not being able to be stolen.

Domenico
10-17-2001, 11:14 AM
Yup!

And forget about encoding/encrypting the source code because that really is a joke too.

Offcourse, it will slow down Joe Public but that is the best you can do.

thewitt
10-17-2001, 11:30 AM
Originally posted by Randy B
I was wondering if there is a script that you can put into your html or some other code that would make it so that noone can save your web pages and steal your graphics?

If there is such a thing please let me know where I can find it.


Randy?

This depends on what you mean by code.

If you mean your HTML, no you cannot prevent it from being viewed by the user. The browser needs to load it in order to render it, therefor it's on the user's machine already and he can simply take it himself and use it any way he wants. If you have copyrighted your material, you will need to prove it's been stolen and prosecute for damages in order to protect your intellectual property.

If you mean PHP or perl code, this cannot be seen by the user since it is executed on the server. They see the resulting HTML code that the browser displays.

As for images - there is no way to prevent the user from capturing your images, however there are some javascript tricks that people use to do things like disable the right mouse button in Windoze, etc. These have no real impact on anyone's ability to steal your image however.

If you have intellectual propery images you need to protect, you should embed a digital watermark.

For more information and debate on the topic, go over to sitepoint and search. There has been much interesting discussion on this topic in the past with many people believing incorrectly that they can protect what they cannot.

-t

thewitt
10-17-2001, 11:32 AM
Originally posted by Domenico
[clip]And forget about encoding/encrypting the source code because that really is a joke too.[clip]
This is not true. The Zend encoder for PHP works great, and protects your PHP source if you have an environment that supports it.

Put up the proof of your statement Domenico or stop this lie please.

-t

slade
10-17-2001, 01:17 PM
This is not true. The Zend encoder for PHP works great, and protects your PHP source if you have an environment that supports it.

Put up the proof of your statement Domenico or stop this lie please.

Calm down man...
As you yourself pointed out, there are two different pieces of this "code" question.

Original programming in php/perl/java/whatever... Unless your program errors and dumps itself to the screen, it is not possible(except via hacking or other similar methods) to get at that code.

Resultant HTML... Well, either they get to see it or they don't. There's no getting around this point. If they're gonna see the page, they have to have the page.


Encrypting/Obfuscating

If you're encrypting/obfuscating the original php/perl/etc code, yes you can make it tougher for a person to figure out whats going on(but it still is a possibility, depending on circumstances).
If you're talking about obfuscating the resultant HTML thats issued to the browser, why don't you just optimize it for a search engine, or find something more useful to do with your time.

edit: i should learn to preview my post before hitting submit :-P

thewitt
10-17-2001, 05:53 PM
Originally posted by slade
Calm down man...
As you yourself pointed out, there are two different pieces of this "code" question. [clip]
If you are talking to me, I'm plenty calm. I'm tired of Domenico spewing this crap that Zend is cracked and therefor worthless without putting up one bit of proof of his statement, but I'm plenty calm.

If you are not distributing your PHP code there is no reason to use the Zend Encoder to protect it of course. I don't believe the original question had anything to do with protecting source code that was being distributed. I beleive it was all about preventing people from stealing his HTML and graphics, which is of course, not feasable.

-t