I get an Unable to connect : cannot access "host" message each time I try to use PJIRC!
Security is disabled and the remote host is not the one from where you downloaded the applet.
I'm using Internet Explorer with the signed cab-file but I'm not prompted to accept the certificate and the connection cannot be performed.
Your're using the Sun Java Virtual Machine instead of the Microsoft one because you've installed
the java sun sdk. Go to the control panel, then "java plugin", then "browser", and unckeck
"Internet Explorer" checkbox.
How to avoid security popup at launch-time?
Disable security on Microsoft Internet Explorer. See security explanation below.
How does the security system work?
It seems nobody understands a single thing about the security system and code
certification. If you read these lines, don't be afraid, you're not alone
The most important thing to understand is that an applet can't do anything without
your explicit consent. If an applet was able to read or write files from or to
your computer, to send them to any remote host, or any actions such as reading
personal informations from your computer, then the internet would be a very
dangerous place. Imagine a popup with such a java applet!
That's why an applet is only able to perform a very limited set of actions.
Something an applet *CAN'T* do is to contact any remote host. That means that
PJIRC *CAN'T* contact the irc server. Hopefully, there is an exception to this
rule : an applet can contact a remote host if and only if this remote host is
the web server from where the applet has been downloaded.
In other words, if the applet is downloaded from
www.somehost.com/anydir/pjirc_files,
then pjirc will be able to contact
www.somehost.com, on any port, but not any other
host.
To summarize, if you want pjirc to work correctly, you MUST install your irc server
on the same server than the one running your website. This website may only contains
pjirc files while the rest of the "real" website is on any other host, that's not
a problem. But the pjirc files ARE to be on the irc server.
Sometimes, these restrictions may be unbearable for some administrators or webmasters.
That's why there is a way to avoid them using code signing and certification. A
signed application may ask the system for further privileges (as contacting any host).
The system will prompt the user if he/she really trusts this application, via some
security popup.