Re: Run a web Application with the same "credentials" of a .exe

From: Arild Bakken (arildb_@hotmail.com)
Date: 07/23/02


From: "Arild Bakken" <arildb_@hotmail.com>
Date: Tue, 23 Jul 2002 18:01:22 +0200


Add the identity node to the configuration file (web.config):

  <identity impersonate="true" userName="userame" password="password"/>

under the <System.Web> node. Optionally do not add the userName and password
attributes and make sure the application uses authentication and have the
user input his/hers username and password when authentication to the web
app.

Arild

"Pinho" <lpinho@oninet.pt> wrote in message
news:1b56a01c23248$73d94c50$19ef2ecf@tkmsftngxa01...
> Hi There C# Security Gurus,
>
> I'm trying for some time now to set the password of a
> Active Directory User.
>
> With a win .net application (.exe) I do it with no
> problem, but when I try to do it in a web-page the Active
> Directory server doesn't allow me... (I think that it
> doesn't allow me because of the user a web service is
> attached to)
>
> What must I do so that I run a Web Application with the
> same "credentials" of a .exe file.
>
> Thank you
>
> Pinho
>
>



Relevant Pages

  • OMA rejects password and username
    ... just one servere doing the exchange job ... on username user@domain.com (for just username it will ... configuration file required to service this request. ... Source Error: ...
    (microsoft.public.exchange.connectivity)
  • OMA ACCESS
    ... just one servere doing the exchange job ... on username user@domain.com (for just username it will ... configuration file required to service this request. ... Source Error: ...
    (microsoft.public.exchange.admin)
  • Re: Config files
    ... I like using Ruby directly for doing stuff like this (if the "configuration file" is under my control). ... module MyConfig ... user = 'username' ... others or is it just down to user preference? ...
    (comp.lang.ruby)
  • Re: Unix directories as lexical scopes?
    ... (It's a version control system, ... can cause it to select a different repository mapping, username, etc.) ...
    (comp.unix.shell)