My english is not so good and i am technicien and not really a good writer.

i got i big trouble. Is that i use FILE.CLASS inside a DefaultMutableTree. I
do not create any phisical file but i got file permision denie insede the
defaultMutableTree. i try to set privilege coding a FilePermission for the
root path of defaultMutabletree but i does not take it into account when i
run the applet. I am quite lost with security even after reading the all
documentation.

i just want to allow the root file of my defaultMutableTree to be eccessible
to had new node?

thanks if someone can help me.
-----Message d'origine-----
De : Kevin Glass <[EMAIL PROTECTED]>
Ŕ : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : lundi 1 septembre 2003 14:10
Objet : Re: [JAVA3D] Web Server J3D


>I have some trouble understanding what you're actually asking, but I think
>its this:
>
>~~~
>In my applet I use a JFileChooser to access the local file system. This
>works fine on my local machine but when my clients try it they get
>security exceptions. How do I fix this? Would web start fix this?
>~~~
>
>I'm afraid you can't use the local file system in an applet since it runs
>in with the "sandbox" that prevents this. However, you could sign your
>applet and get the user to accept the certificate. This could allow you
>file access, buts its quite an annoying process. If you want to try this,
>search around on the java.sun.com for Applet and Jar signing +
>certificates.
>
>If you deployed using WebStart you could get round this file access thing,
>this is simply because all jars deployed via WebStart must be signed and
>accepted by the user. However, I don't know of anyone that has used
>webstart to deploy a J3D app. It shouldn't be too difficult. I deploy JOGL
>with it all the time, and essentially I suppose J3D is just a bunch of
>native libraries. WebStart is generally very nice, if a little early in
>development. You can find oout about webstart here:
>
>www.vamphq.com/jwsfaq.html
>
>I'd go for WebStart in your position.
>
>Kev
>
>> Hi all of J3D people how have spend hours on working and helping each
>> other,
>>
>> After 18 months of work i am ready to share with you the rsult of my work
>> ( of course not the source). I am nearly ready to give the URL adresse of
>> the application. But i lgot i big trouble running my appli has applet.
>>
>> I use FileChooser(to load external info file) an File Class ( used for to
>> build the Defaultmutable tree).
>> I find out yestaday that when client srun my apllet security problem
>> appear when i start the first DefaultMutable tree (RootNode).
>>
>> What i ask this community is to help me to find the rigth solution for
>> this problem.
>>     I need to use FILE class because is the only one were i can get the
>> Name and Path method.
>>
>>     I would like to give the possibliti for poeple how try the Demo to
>> serve there wok on there machine. So there could use My tools when
>> theyu need whitout having the need to get the class on there own
>> machine.
>>
>> If with Web Start i can avoid the problem of security. Does someone could
>> help me to find help.
>>
>> Thanks
>>
>>     Herve
>>
>>
==========================================================================To
>> unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>> of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to