Re: Impersonation in ASP.Net

From: Bjoern Wolfgardt (bjoern.wolfgardt_at_donotspamme-i-ventions.de)
Date: 07/21/03


Date: Mon, 21 Jul 2003 14:41:14 +0200


Sorry,

if you talk about an intranet application you just have to activate the
impersonation. The logged on user (on the client will) will be used for
impersonation if integrated authentication is enabled on your webserver (or
webapplication).

But if you work with anonymous access you can use the domainuser account.

cu
Bjoern Wolfgardt

"Sanjay Poojari" <sanjay@rheal.com> schrieb im Newsbeitrag
news:O1nxXv3TDHA.2008@TK2MSFTNGP11.phx.gbl...
> Hi All,
>
> I have an ASP.Net application in which I need to run certain sections of
the
> code in another user context (other than that aspnet user). The scenerio
is
> like this:
>
> I have a file server (a different machine from the web server) that stores
> directories and documents (files). My application needs to access the
files
> and directories from the other machine. But the aspnet user will not be
> given access rights to the other machine. So in the code sections that
> access the file server, has to be run in a different user context (a user
> account that HAS access to the file server).
>
> Can anyone tell me what would be the best way to implement this. Would
like
> to know all the issues involved and also how difficult (or easy) it would
be
> to implement. Any suggestion/advice/pointers would be appreciated.
>
> Thanks in advance.
> Sanjay
>
>



Relevant Pages

  • Impersonation in ASP.Net
    ... code in another user context (other than that aspnet user). ... I have a file server that stores ... Any suggestion/advice/pointers would be appreciated. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Weird impersonation issue
    ... we started getting a weird impersonation problem on one ... IIS is set to use Windows Authentication, ... Here is where it gets weird - If I run the app from my machine, ... If I go to the Security Log on the file server, ...
    (microsoft.public.dotnet.framework)
  • Re: Impersonation in ASP.Net
    ... activate impersonation for your web application. ... > code in another user context (other than that aspnet user). ... > I have a file server that stores ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: security
    ... > Yes, it's file server. ... LogonUser (NETWORK_CLEARTEXT) you will get a direct token with network ... If you're like me and don't like impersonation, ... a network logon session using the "net use" command (from the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Impersonation issues
    ... We didn't want to take the impersonation route as we have a user ... On the webserver we have the "aspnet" local account that runs the website. ... One the fileserver we created a "aspnet" local account that has permissions ... on the file server. ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast