• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating File on server with windows security restrications.

 
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using JRun4 and have a module which helps in uploading a file on to the server from client. On server side this file is written to a predefined directory.
If the security privilege for the directory on the server is changed. Obviously it gives exception and is been handled.
My question is which user security privileges are considered on the server? i.e.
1 The user through which JRun4 is installed?
2. Administrator?
3. Anonymous User?
I am using windows 2000 / XP operating system.
Thanks for the time.
 
Saloon Keeper
Posts: 27926
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A. None of the above. It's the user ID that JRun is running under. If you start JRun from the command line, it's the UID you logged in as. If you run it as a service, check the service manager.
Unless, of course, JRun has an alias user capability like Apache does. I don't think it does, however. But in that case, it would be in the JRun setup.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic