Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Start Java Application as Superuser

Thread view: 
MKunert - 31 Oct 2006 13:23 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.