Start Java Application as Superuser



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

.



Relevant Pages

  • Start Java Application as Superuser
    ... I'm working on a software project in Germany and have several problems ... write rights to write to the database and read external libraries. ... Before launching the java application the user ...
    (de.comp.lang.java)
  • RE: webpage closes/crashes with IE
    ... Further to Frank's comments about the Javascript errors in your other thread, ... the Javascript errors are about some code dealing with launching ... The applet launches itself in its own window. ... Do you have Java support installed? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Java Web Start does not launch application
    ... When I try to launch java web start applications I get the "Java ... This only occurs for applications that I am launching from a web page ... home dot woh dot rr dot com slash jbmatthews ...
    (comp.lang.java.programmer)
  • Re: Using mandatory libraries (custom class loading vs. expanding libraries)
    ... When launching the jar I print the Java System property ... ignore other classpath entries (eg. from the CLASSPATH env var, ...
    (comp.lang.java.programmer)
  • Re: Start Java Application as Superuser
    ... on launching a Java application. ... write rights to write to the database and read external libraries. ... Before launching the java application the user ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (comp.lang.java.programmer)