• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to Bypass IE security settings??

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
u can use System.getProperties() and System.putProperties()
methods but u will need to take certificate from certification authorities (thawte, verisign)for that
 
Ranch Hand
Posts: 1874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic