View Single Post
  #18  
Old 06-08-2003, 10:47 AM
sajjid sajjid is offline
 
Join Date: Jul 2002
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02514 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete