Ask a Question related to ASP.NET Security, Design and Development.
-
JimN #1
EventLog access through ASP.Net app
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?
JimN Guest
-
Eventlog problems
Hi All, I'm writing an webservice and want to log errors etc. and thoughed the Eventlog would be a nice place for it. The problem is that i can't... -
Eventlog application registration error
As I understand it from the examples in the documentation each application needs to get registered in order to be able to write to an event log. ... -
SecurityException on EventLog.CreateEventSource
Hi All, Can anybody tell me how to write to the application event log with a new source. I'm running the .Net example code but can't get it to... -
[ANN] win32-eventlog 0.1.0
Hi all, I'm happy to announce the first release of win32-eventlog. This is a Ruby interface to the Win32 EventLog. Synopsis ========... -
Trouble writing to EventLog
My aspx page can not write to the EventLog "Requested registry access is not allowed". I have read the posts about ASPNET not having access to... -
Jeff #2
Re: EventLog access through ASP.Net app
The easiest way is to just create the event log application as part of your
installation. You do this by editing the registry and adding a key with the
name of the application to
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Ap plication. You can find
more info about doing this here:
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;329291[/url]
Jeff
"JimN" <anonymous@discussions.microsoft.com> wrote in message
news:038301c3b393$edfef7a0$a401280a@phx.gbl...> 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?
Jeff Guest
-
Juri Zenkevitch #3
Re: EventLog access through ASP.Net app
Im exactly in same situation - trying to get EventLog & RegistryKey to be
working for network computers: "access denied", because the WindowsIdentity
passed to me does not have LOGON32_LOGON_NETWORK_CLEARTEXT flag... And I
can't create my own identity, because at runtime I don't know credentials of
the user, who uses my asp.net application...
"JimN" <anonymous@discussions.microsoft.com> wrote in message
news:038301c3b393$edfef7a0$a401280a@phx.gbl...> 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?
Juri Zenkevitch Guest



Reply With Quote

