Re: Win2k3 Event Log and Security: Must choose between security and trustworthy

andrew
Date: 04/29/03

  • Next message: Per Schjetne: "Re: Forms Authentication problem. Keep looping back to logon page"
    Date: Tue, 29 Apr 2003 17:11:54 +1000
    
    

    "Jonathan Folland" <jfolland.nospam@earthlink.net> wrote in message
    news:esk8%23kHCDHA.2704@TK2MSFTNGP11.phx.gbl...

    > 1) Write a Program to create the event log and its sources in the
    registry.
    > Run this program under a user account that has administrative privileges.
    >
    > In my opinion, this is not a very good solution. What happens if a
    > developer fumble fingers the name of the event log or its source or during
    > coding of the application developers create new sources. In order for
    this
    > to be effective, someone would need to write a program that scanned all
    > source code for methods of New EventLog and WriteEntry, then parse the
    > method arguments to come up with a comprehensive list of Logs and Sources.
    > How many development shops are going to do this so that they can write to
    > the event log?

    I don't know how you write to the event log throughout your web application
    but I'd think that any reasonable OO design would ensure that a dedicated
    class is responsible for doing this in which case your point would be mute.
    Strongly typed methods always beats fumble fingers :)

    I think creating the sources via a setup program is the best solution, but
    it also requires a good application design.

    andrew


  • Next message: Per Schjetne: "Re: Forms Authentication problem. Keep looping back to logon page"

    Relevant Pages

    • Re: Exception Logging in C#
      ... coupled applications doing level 2 to level 5 controls. ... being written by third party customer consultants or the actual customer ... logging system for the process alarms but used the event log for system ... both in design and in implementation. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Forward events from eventviewer to a syslog server?
      ... vbs need to scan every time the whole event log to find new events and ... I don't know about the "huge event logs" issue but your developer is ... even a humble batch file. ... What size is a "huge" event log file? ...
      (microsoft.public.windows.server.general)
    • RE: SQL Debugger Addition Information
      ... The Windows Application Event log show this error everytime the developer attempts to debug: ...
      (microsoft.public.sqlserver.server)