Does anyone know the reason why first one is working and second one is not? (applet starts a program on a client machine)
1. permission java.io.FilePermission "<<ALL FILES>>","execute";
2. permission java.io.FilePermission "c:\\-", "execute";
thank you.
java permissions
-
- Уже с Приветом
- Posts: 108
- Joined: 10 Oct 1999 09:01
- Location: Staten Island, NY
-
- Уже с Приветом
- Posts: 4412
- Joined: 06 Nov 2003 17:03
- Location: TX
-
- Уже с Приветом
- Posts: 108
- Joined: 10 Oct 1999 09:01
- Location: Staten Island, NY
I don't think it is correct because, first, current directory is "." . Second, that I am trying to start a program from an applet and that program is on c: but not in any current directory. I just wanted to narrow <All Files> to a particular .exe but for whatever reason #1 works but #2 does not.
Any ideas are welcome.
thanks
Any ideas are welcome.
thanks
-
- Уже с Приветом
- Posts: 297
- Joined: 21 Mar 2002 10:01
- Location: Minsk, BY -> central NJ