Hello everyone!
I'm working on a software project in Germany and have several problems
on launching a Java application.
Due to security matters the user logged on the Operating System (here
WinXP Professional) has reduced read and write right on the application
directory and the database directories. But the software MUST have
write rights to write to the database and read external libraries.
In a first try we established an "system" account on the OS which has
full read/write right. Before launching the java application the user
logged on is switched to the system-user and the system-user then
launches the application. But this causes a lot of other problems.
Is there any other chance to give the application launched more rights
than the user launching it keeps?
I know that some kind of COM+ Objects might help. But in our case this
won't work cause we cannot implement these interfaces into our
database.
Any help or suggestion would be great.
Thanks
Martin
PS: Some additional information: OS: WinXp, WinServer2003, Java 1.5
Michael Ansel - 01 Nov 2006 05:10 GMT
I'm no expert at any of this stuff, but have you tried using runas to
run it as the system user? Or are you trying to do all of this from
within the Java program?
Michael
> Hello everyone!
>
[quoted text clipped - 22 lines]
>
> PS: Some additional information: OS: WinXp, WinServer2003, Java 1.5