![]() |
Need a javascript disabling people to view source or saving a site
Does anyone got a javascript or know one where you can make people to not save your site or view your source? Cuz I am a bit annoyed about people stealing stuff.
So far Ive written a couple of javascripts eventually none did work perfectly. so im hoping to get a perfect one. |
um...Java is not Javascript. Java is a programming language. Javascript is a scripting language thats only for webpages. And i dont think you can do this but I not 100% but I also think PHP can if you were to use that b/c it doesnt show on the "view source" page. Correct someone if I am wrong about PHP.
|
~Moved
|
If you don't send them your content then they can't view it. If you do send it they can. If they can view it, then they can save it, copy it, send it, etc. It is as simple as that. As simple as turning off javascript. Or bringing up the source view another way. Or any number or other ways. Attempting to prevent such "theft" via annoying scripts only defers the least informed. If you have something worth protecting, then look into copright/trademark/patent law. What sort of content are you trying to protect? Preventing people from saving images? Text? Or are you concerned about people discovering vulnerabilities in your serverside scripts? If it is because of that last point, you have a lot to learn about security. Otherwise, perhaps you should rethink the value of even bothering with such measures.
|
for a linux/apache server here is the best way to prevent people from viewing the source
"killall -9 httpd" or maybe in your .htaccess file deny from all .. if someone can see your website in their browser then they can see the source. PHP and other scripts just generates that source dynamically, you can still see the source it sends. Anything that is client-ran like javascript is sent to that users computer, so therefore they have complete access to it. Take daemons advice and brush up on Internet 101 |
Quote:
|
If you don't realize that re-posting your question again isn't going to change the answer, then I don't suppose you'll realize that what you're asking is silly, and I don't suppose you'll realize Java isn't Javascript. C is not chocolate and C++ is not chocolate chips. It woiks like that.
|
Quote:
|
is there an ecryption program for this?
|
what is this `this` you speak of?
|
| All times are GMT -5. The time now is 6:43 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC