Re: Protecting JavaScripts from being Donwloaded

From: Date: Mon, 16 Apr 2001 11:44:18 +0000
Subject: Re: Protecting JavaScripts from being Donwloaded
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48735@lists.php.net to get a copy of this message
If you mean Javascript that is in your HTML code, it is both practically and theoretically impossible to do so. HTML source is wide-open to anyone who wants to look at it, and there is little/nothing you can "really" do about it. Some sites try and hide their HTML source, but it servers only to annoy the crap out of users. If I right-click a page and don't get the right-click menu I expect, I tend to become highly irritated. JavaScript is a "scripting language", which was designed for the exact purpose of being easily read by humans. Now, if you are speaking of a JavaApplet or client-side java bean, that's a little different. But in reality you can't really stop people from downloading those to their hard-drive either. There are methods to keep people from easily decompiling them, but I'm betting you aren't talking about Java stuff anyway :) -- Plutarck Should be working on something... ...but forgot what it was. ""Steve Haemelinck"" <steve.haemelinck@pandora.be> wrote in message news:000001c0c663$59401dd0$0200a8c0@shaemeli... > Hi all is it possible to protect your javascripts from being downloaded by > visitors ? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#48735) next »