Re: How to restrict access to Files/Folders?
From: richlm (rich_lm_at_h0tmai1.com)
Date: 12/14/04
- Next message: Joe: "RE: Shared Drive and EXE"
- Previous message: richlm: "Re: is there any way to get to a unique build verion of an assembly at runtime? e.g. a version that is unique to the time that the assembly was built?"
- In reply to: Khaled Hussein: "How to restrict access to Files/Folders?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 14 Dec 2004 12:03:51 +0100
If your processes are running as windows services, you can set the user
context (i.e. username/password) for each process independently, and set
file access permissions accordingly (e.g. via windows explorer) for the user
associated with each process.
If your processes are started interactively by a logged-on user, the process
identity will assume the identity of the logged on user. You could probably
use impersonation of another user - but where to store that user info? Maybe
you could also use something like "runas"?
Not knowing your architecture/requirements it's difficult to say what's best
for you, but use windows services if possible.
- Next message: Joe: "RE: Shared Drive and EXE"
- Previous message: richlm: "Re: is there any way to get to a unique build verion of an assembly at runtime? e.g. a version that is unique to the time that the assembly was built?"
- In reply to: Khaled Hussein: "How to restrict access to Files/Folders?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]