Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How can services access network path

 
   Windows XP (Home) -> XP Security Admin RSS
Next:  INSTALLING OFFICE XP  
Author Message
oly

External


Since: Dec 21, 2006
Posts: 1



(Msg. 1) Posted: Thu Dec 21, 2006 6:29 pm
Post subject: How can services access network path
Archived from groups: microsoft>public>windowsxp>security_admin (more info?)

I run tomcat as windows service ,and my web service need store files in
network.
I do in this way:
1.Start tomcat service use user A in administrators group
2.log in windows use user A and build net path use command "net use z:
\\storeserver\path"
But web service cannot access Z:
why and how to solve it ?

 >> Stay informed about: How can services access network path 
Back to top
Login to vote
Colin Nash [MVP]

External


Since: Dec 03, 2006
Posts: 3



(Msg. 2) Posted: Fri Dec 22, 2006 12:03 am
Post subject: Re: How can services access network path [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"oly" <oly.TakeThisOut@discussions.microsoft.com> wrote in message
news:8DE3D58C-1EF1-400A-86CF-9307D4F54985@microsoft.com...
>I run tomcat as windows service ,and my web service need store files in
> network.
> I do in this way:
> 1.Start tomcat service use user A in administrators group
> 2.log in windows use user A and build net path use command "net use z:
> \\storeserver\path"
> But web service cannot access Z:
> why and how to solve it ?
>

If you aren't running a domain, the local accounts on the client mean
nothing to the server. You could create an account with the same name and
password on both the the client and server. You will need to keep the
passwords in sync manually. Don't use a blank password, as there is a
default policy that will block network access for that account completely.
Grant NTFS and share permissions to the local user to the path on the
server.

You can also consider the built-in NETWORK SERVICE account. See:
http://www.microsoft.com/technet/security/guidance/serversecurity/serv...account
although it may not allow for the necessary local access on the client (PC
running Tomcat.)

Your problem might also be that the Z: drive doesn't exist in the user's
session when the service starts up. Can you create a login script for that
account? Or maybe just use UNC notation (if Tomcat allows that)
\\storeserver\path and forget about drive mappings.
--
Colin Nash
Microsoft MVP (www.microsoft.com/mvp)
Windows - Shell/User

 >> Stay informed about: How can services access network path 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Removing access to "Network Connections" - I'm looking for a way to remove Network Connections from the Control Panel and also to make sure Network Connections can't be accessed by right-clicking on Network Places and selecting "Properties." How exactly can I do this? Thanks.

Removing access to "Network Connections" - I'm looking for a way to remove Network Connections from the Control Panel and also to make sure Network Connections can't be accessed by right-clicking on Network Places and selecting "Properties." How exactly can I do this? Thanks.

Removing access to "Network Connections" - I'm looking for a way to remove Network Connections from the Control Panel and also to make sure Network Connections can't be accessed by right-clicking on Network Places and selecting "Properties." How exactly can I do this? Thanks.

Removing access to "Network Connections" - I'm looking for a way to remove Network Connections from the Control Panel and also to make sure Network Connections can't be accessed by right-clicking on Network Places and selecting "Properties." How exactly can I do this? Thanks.

Removing access to "Network Connections" - I'm looking for a way to remove Network Connections from the Control Panel and also to make sure Network Connections can't be accessed by right-clicking on Network Places and selecting "Properties." How exactly can I do this? Thanks.
   Windows XP (Home) -> XP Security Admin All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]