RE: Impersonate Global.asax
From: Venkat Chilakala (venkatc@onlinemicrosoft.com)
Date: 06/06/02
- Next message: Kim Bach Petersen: "Re: Howto manage navigation?"
- Previous message: Leguay Jérémie: "Howto manage navigation?"
- In reply to: Tsvika Palgy: "Impersonate Global.asax"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: venkatc@onlinemicrosoft.com (Venkat Chilakala (MS)) Date: Thu, 06 Jun 2002 20:52:57 GMT
There is no setting that does this automatically.
Global.asa has multiple events that are handled at different parts of a
life cycle of a request and all of them cannot exeucte in one security
context (and that too the context of the end user.) You can programatically
impersonate a specific user to execute this code but there is no setting .
If you want to impersonate a specific user please see the following KB
article.
http://support.microsoft.com/support/kb/articles/q306/1/58.asp
Thanks
Venkat Chilakala
This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
>>From: zvi.palgy@compaq.com (Tsvika Palgy)
>>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>>Subject: Impersonate Global.asax
>>Date: 5 Jun 2002 06:23:19 -0700
>>Organization: http://groups.google.com/
>>Lines: 12
>>Message-ID: <f3e77d06.0206050523.25602e94@posting.google.com>
>>NNTP-Posting-Host: 161.114.126.51
>>Content-Type: text/plain; charset=ISO-8859-1
>>Content-Transfer-Encoding: 8bit
>>X-Trace: posting.google.com 1023283400 4539 127.0.0.1 (5 Jun 2002
13:23:20 GMT)
>>X-Complaints-To: groups-abuse@google.com
>>NNTP-Posting-Date: 5 Jun 2002 13:23:20 GMT
>>Path:
cpmsftngxa07!tkmsftngp01!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-ed
u.net!usenet-edu.net!teaser.fr!proxad.net!proxad.net!isdnet!sn-xit-02!supern
ews.com!postnews1.google.com!not-for-mail
>>Xref: cpmsftngxa07 microsoft.public.dotnet.framework.aspnet.security:1185
>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>>
>>Hi
>>Created web service.
>>Is it possible to impersonate the excution of code in Global.asax ?
>>By default it's being executed by aspnet_wp.exe under ASPNET account
>>on the server.
>>I have there some code I wish will runAs a specific user that has
>>special access rights to specific resources on the server.
>>
>> The IMPERSONATE option of web.config does not affect global.asax .
>>
>> Thx in Advance
>> Zvi
>>
- Next message: Kim Bach Petersen: "Re: Howto manage navigation?"
- Previous message: Leguay Jérémie: "Howto manage navigation?"
- In reply to: Tsvika Palgy: "Impersonate Global.asax"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|