Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > How to access other machines' event log files from a web server?

Reply
Thread Tools

How to access other machines' event log files from a web server?

 
 
Andrew
Guest
Posts: n/a
 
      12-14-2005
Hello, friends,

We have a .net web app, which will need to access event log files of other
machines in our company's network using System.Diagnostics.EventLog namespace.

In Web.config, we set:

<identity impersonate="true"/>

In IIS Directory Security setting tab, we checked all Authenticated Access,
and unchecked Anonymous Access.

But, it still does not work. When a user visit this web app, he/she has no
problem to visit other pages, except the one that needs to retrieve event log
info from other machines. The error message is:

Access to the registry key is denied.

Any ideas, reference papers? Help please....

Thanks.



 
Reply With Quote
 
 
 
 
Dominick Baier [DevelopMentor]
Guest
Posts: n/a
 
      12-15-2005
Hello Andrew,

Have you enabled delegation on the server?
whom do you impersonate?

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hello, friends,
>
> We have a .net web app, which will need to access event log files of
> other machines in our company's network using
> System.Diagnostics.EventLog namespace.
>
> In Web.config, we set:
>
> <identity impersonate="true"/>
>
> In IIS Directory Security setting tab, we checked all Authenticated
> Access, and unchecked Anonymous Access.
>
> But, it still does not work. When a user visit this web app, he/she
> has no problem to visit other pages, except the one that needs to
> retrieve event log info from other machines. The error message is:
>
> Access to the registry key is denied.
>
> Any ideas, reference papers? Help please....
>
> Thanks.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
problem implementing log4j? not inserting data in new userlog.log other then server.log vj Java 0 12-04-2006 08:59 AM
How to log independently of other webapps using log4j? Also, reading from log file from within servlet? unomystEz Java 0 11-19-2006 10:42 AM
How to access other machines' event log files in a .net web app? =?Utf-8?B?QW5kcmV3?= ASP .Net 1 12-15-2005 12:40 AM
Need help on the Permissions needed to log to Event Log from ASP.NET? Henrik_the_boss ASP .Net 0 11-05-2003 10:14 AM



Advertisments