AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Applet Security

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java
View previous topic :: View next topic  
Author Message
kdy1029@gmail.com
Guest





PostPosted: Thu Feb 17, 2005 12:53 am    Post subject: Applet Security Reply with quote



I wrote an applet that works with MS JVM.

1. Is it possible to make ServerSocket in applet code ?

2. Server(Java application) and Client(Applet) work well with signed
applet.
(Test completed)

But I wrote programs which constitute server(signed applet) and
client(applet or

application). It happen errors.

com.ms.security.SecurityExceptionEx[HNServer.onStart]: cannot access
"127.0.0.1":1574
at com/ms/security/permissions/NetIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkAccept
at java/net/ServerSocket.implAccept
at java/net/ServerSocket.accept
at HNServer.onStart
at HNServer.start
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
com.ms.security.SecurityExceptionEx[HNServer.onStart]: cannot access
"127.0.0.1":1574
at com/ms/security/permissions/NetIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkAccept
at java/net/ServerSocket.implAccept
at java/net/ServerSocket.accept
at HNServer.onStart
at HNServer.start
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run

Server port : 10001
but the error's port 1574

Is it possible to solve problem?
please help me.

Thanks

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.