This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes How to Bypass IE security settings?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to Bypass IE security settings??" Watch "How to Bypass IE security settings??" New topic
Author

How to Bypass IE security settings??

Vikram Nm
Greenhorn

Joined: Mar 29, 2001
Posts: 17
I'm running a java chat server on a win-98 machine on a network.
The clients are also win-98 machines.
It is only when I reduce the security settings of IExplorer(on the client) that the appplet (which is loaded from the server machine) can access the chat server.
Is there anyway in which I won't have 2 manualy change the java settings of IE ,and still b able to create a socket connection to the chatserver.
I'm asking this becoz it won't b right to change the security settings of IE on every machine to make my chatserver run.
How do they overcome this problem in real world java chat servers.
Can anyone help me out??
Thanx in advance for your help.
VIKRAM
jasonkosowan
Greenhorn

Joined: Sep 07, 2001
Posts: 25
Unless your applet is using HTTP back to it's originating server, you will not be able to do anything about this. I'm assuming you are using some type of RMI to do the chat. Well, RMI, disk access, and most network access are strictly forbidden because of the Jave security model. If you still want to use RMI and to deploy for multiple clients, either rewrite your applet to be an application, OR sign your applet so that it is trusted. (A signed applet STILL may not work, though, if someone decides to refuse the sig.)
Originally posted by Vikram Nm:
I'm running a java chat server on a win-98 machine on a network.
The clients are also win-98 machines.
It is only when I reduce the security settings of IExplorer(on the client) that the appplet (which is loaded from the server machine) can access the chat server.
Is there anyway in which I won't have 2 manualy change the java settings of IE ,and still b able to create a socket connection to the chatserver.
I'm asking this becoz it won't b right to change the security settings of IE on every machine to make my chatserver run.
How do they overcome this problem in real world java chat servers.
Can anyone help me out??
Thanx in advance for your help.
VIKRAM

parul patidar
Ranch Hand

Joined: Sep 07, 2001
Posts: 53
u can use System.getProperties() and System.putProperties()
methods but u will need to take certificate from certification authorities (thawte, verisign)for that
shailesh sonavadekar
Ranch Hand

Joined: Oct 12, 2000
Posts: 1874
vikram nm , Welcome to javaranch.
PROPER NAMES ARE NOW REQUIRED
Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name. Please adhere to official naming policy & help maintain the decorum of the forum.
Waiting for your posts with proper first & last name. Once you have reregister , please let us know about that & then your previous account will be disabled.
Regards.

Your Friendly Bartender
Shailesh.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Bypass IE security settings??
 
Similar Threads
How to Bypass IE security settings??
How to Bypass IE security settings??
Java for Win 98/ME
Applet --Server -IE Socket Connection settings ??
Time wrong in java programs