i have done a similar thing with static applets because we needed to be able to
use the javax.comm package...  once you get the applet digitally signed and the
user accepts its permissions, you simple need to have your applet open and
modify the java.policy file using the java.io package.  at least this is how we
did it...

good luck,
   -john




|--------+-------------------------------->
|        |          Tarun Matai           |
|        |          <Tarun.Matai@IFLEXSOLU|
|        |          TIONS.COM>            |
|        |                                |
|        |          09/27/2001 11:44 PM   |
|        |          Please respond to "A  |
|        |          mailing list for      |
|        |          discussion about Sun  |
|        |          Microsystem's Java    |
|        |          Servlet API           |
|        |          Technology."          |
|        |                                |
|--------+-------------------------------->
  >-------------------------------------------------------------------------|
  |                                                                         |
  |       To:     [EMAIL PROTECTED]                             |
  |       cc:     (bcc: Winfrey Y Johnson/IT/VANCPOWER)                     |
  |       Subject:     Servlet-signed applet                                |
  >-------------------------------------------------------------------------|





Hi!
        I have a problem, whenever a user connects my servlet I want to send
an applet on the fly which has the digitial sigining capability. Ie. It
should have the access to the client's private key. Since the applet cannot
access the resource on the local machine the applet has to be a signed
applet, and at the client end you have to do some settings for running the
applet,
1) The java Policy file is to be edited, granting all rights for the
resource coming from my client side.
2) Java plugin has to be downloaded on the client machine.
This means my client needs to be smart enough who can edit the java policy
file.

How can this process be Automated.


Thanks in advance for all your valuable suggestions.
Tarun

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to