JAVA PARAMS AUTHORIZEDHOST

Format: [host1,host2, ...]
Default: (none)

You may specify a list of hosts that are allowed to serve up the applet. For example, you may have 3 servers available, and put your chat server on only one- irc.one.com. The applet can automatically be on pages from that server. But, say that you want to also have pages that include the applet on your other two servers, irc.two.com and irc.three.com. Until now, you could simply put the proper code in to pull the applet from irc.one.com, but then again, so could anyone else in the world. Using the authorizedhost tag, you are now able to say exactly which servers are allowed to have pages containing your applet. For this example, you would use: authorizedhost=irc.two.com,irc.three.com Remember the host containing the code itself is always allowed. The param allows the applet to be on pages from irc.one.com, irc.two.com, and irc.three.com but no other server is allowed. To make sure the param can't be tampered with, it can only be used from the default.prm file contained in the directory where the applet code files itself are found which are always on the server you control. If this param is left unspecified then any server in the world can have pages containing your applet, as before. If the param is set to nothing, such as: authorizedhost= then your applet is locked to your code server and can't appear on pages from any other server. Noone can 'hijack' your server again! If they try, the applet will refuse to start and will show an appropriate error message.

Examples:
In a web page:
<param name="authorizedhost" value="irc.webmaster.com,irc.webchat.org">

In a param file:
authorizedhost=irc.webmaster.com,irc.webchat.org