Solved

ServerSocket Security problem on MS Java (In an signed applet)

Posted on 2003-12-09
13
254 Views
Last Modified: 2010-03-31
Hi all,

I have a problem with creating ServerSocket in MS Java.

I have a ServerSocket in an applet wich is a router for other applets that can not connect trough firewalls. In this router I implemented a http tunneling to avoid firewalls.

The problem is that on MS JVM when creating a ServerSocket I have a security exception even my applet (the router) is signed.

There is another solution for MS JVM? (I'm refering do not use ServerSocket) or how can I avoid this security exception?

Thx,
Black_NM
0
Comment
Question by:black_nm
  • 4
  • 3
  • 3
  • +1
13 Comments
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
Probably not signed correctly - do some fine inspection ;-)
0
 

Author Comment

by:black_nm
Comment Utility
Is correctly signed.
On Java Sun it works fine.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 25 total points
Comment Utility
You must sign it with MS for MS
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
 Do you need to use MS "java"? Why not stick with the version we all use?
0
 

Author Comment

by:black_nm
Comment Utility
Is not my choice. The client want to work in windows without any other downloads. (I'm referring to the Java plug-in download)
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:black_nm
Comment Utility
I have signed the applet jar and also the cab file.
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
>>and also the cab file.

But obviously not adequately, or you wouldn't be getting security errors
0
 

Author Comment

by:black_nm
Comment Utility
So you are sure that with a applet signed it have to work on MS?

I signed the code with netscape security.

How can I sign the code for MS.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 25 total points
Comment Utility
 Take a lookhere for signing MS java code:

http://www.securingjava.com/appdx-c/appdx-c-2.html

  and here for more signing:

http://www.michael-thomas.com/tech/java/javaadvanced/security/
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
> So you are sure that with a applet signed it have to work on MS?

  It should yes.
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
if you remove the cert from IE, and reload the applet does it ask you to trust that cert?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now