EventLog access through ASP.Net app

From: JimN (anonymous_at_discussions.microsoft.com)
Date: 11/25/03


Date: Tue, 25 Nov 2003 12:37:23 -0800

I have an ASP.Net app for which I want to be able to log
events to the Windows 2000 server event log under a special
log name. I encountered the initial security exceptionwhen
I first tried this in code and then did some research on
the subject. I think I've found two seperate ways to
accomplish what I want to do:
1. Use "sandboxing" by writing a class library in a
strong-named assembly that I install in the GAC which I
then call into from my ASP.Net app.
2. Use wrapped Win32 API calls to perform impersonation,
which, I understand, requires that I grant "Act as Part of
Operating system" priviledge to the ASPNET user.

Which do the users of this group suggest I use for the best
security and portability to other, possibly new, Windows
servers?



Relevant Pages

  • Re: Permissions - giving "everyone" full permissions is bad ?
    ... >Now I want to deploy this app to a windows 2003 web edition server, so my customers can test the app. ... >So I go into the properties for the dir where this TXT file is, and adds ASPNET user and gives it "modify" permissions - no luck! ...
    (microsoft.public.dotnet.framework.aspnet)
  • EventLog access through ASP.Net app.
    ... I ahve an ASP.Net app for which I want to be able to log ... events to the Windows 2000 server event log under a special ... Operating system" priviledge to the ASPNET user. ...
    (microsoft.public.dotnet.security)
  • Permissions - giving "everyone" full permissions is bad ?
    ... Now I want to deploy this app to a windows 2003 web edition server, so my customers can test the app. ... So I go into the properties for the dir where this TXT file is, and adds ASPNET user and gives it "modify" permissions - no luck! ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: EventLog access through ASP.Net app
    ... working for network computers: ... > events to the Windows 2000 server event log under a special ... > then call into from my ASP.Net app. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Windows.. its like coming home!
    ... gradual transition, especially in going from OS 9 to OS X. ... They needed something that could compete with Windows, ... mean by the "2 of every app" comment before - Apple took whatever apps ... I've found that because the Dock shows applications rather than windows, ...
    (comp.sys.mac.advocacy)

Quantcast