Re: How to protect JavaScript?

From: Date: Wed, 16 Jan 2002 14:54:24 +0000
Subject: Re: How to protect JavaScript?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-80715@lists.php.net to get a copy of this message
Hi Bart, I think it's the same problem as with php: You could only protect it, when a HTTP_REFERRER is send (which Netscape does not do): Description: Assume we have under http://www.quux-corp.de/~quux/ some pages with inlined GIF graphics. These graphics are nice, so others directly incorporate them via hyperlinks to their pages. We don't like this practice because it adds useless traffic to our server. Solution: While we cannot 100% protect the images from inclusion, we can at least restrict the cases where the browser sends a HTTP Referer header.

« previous php.general (#80715) next »