Re: How to run as in a deamon



Have them set up the scheduled task to run as the required user. That's the
most straightforward way to solve this.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"David Thielen" <thielen@xxxxxxxxxxxxx> wrote in message
news:525C4CDD-F65C-4C82-8F63-EE93FDE4D091@xxxxxxxxxxxxxxxx
Hi;

We have this web app that handles security great. For everything we do we
run as the client so we do not have to store any credentials ourselves and
it
handles Sql Server access, reading files from the server, everything.

But... we have a deamon program where users can schedule these same
actions.
The problem is, when these deamon programs run, we don't have the client
user
attached and therefore cannot get their credentials.

Do we need to get their uname/pw and store it to be able to runAs them -
like services in Windows when running under a user? I hate to store that
info
because that is the keys to the kingdom.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




.



Relevant Pages

  • Re: Password Reset Self Service
    ... where will you store the answers? ... Creating a web page that does the password reset is quite easy. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to iew Passwords?
    ... It actually doesn't even store them directly, it stores a one way hash, so ... the third party password sync apps like psynch or MIIS. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Roles - Access Rule Storage
    ... exact same thing in your module, but store the authorization policy in the ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Roles - Access Rule Storage
    ... You might also want to look at the Authorization Manager API if you ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... exact same thing in your module, but store the authorization policy in the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Web Single Sign On
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... current Windows credentials to the server, ... This common identity is the user's username used to logon to the ...
    (microsoft.public.dotnet.framework.aspnet.security)