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

Discussion in 'ASP .Net Security' started by Andrew, Dec 14, 2005.

  1. Andrew

    Andrew Guest

    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.
    Andrew, Dec 14, 2005
    #1
    1. Advertising

  2. 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.
    >
    Dominick Baier [DevelopMentor], Dec 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fabricio Sperandio

    ASP.NET Access denied to resources in other machines

    Fabricio Sperandio, Apr 1, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    459
    Fabricio
    Apr 5, 2004
  2. =?Utf-8?B?QW5kcmV3?=
    Replies:
    1
    Views:
    467
    Joshua Flanagan
    Dec 15, 2005
  3. paulp
    Replies:
    5
    Views:
    429
    Pat [MSFT]
    Sep 16, 2005
  4. unomystEz
    Replies:
    0
    Views:
    531
    unomystEz
    Nov 19, 2006
  5. vj
    Replies:
    0
    Views:
    671
Loading...

Share This Page