473,394 Members | 1,226 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Security for remote EventLog access?

JV
It's great that the CLR gives us this cool EventLog object for managing
event logs. And they even give you this cool property "MachineName" to
allow you to deal with event logs on a remote server.

But what access rights are needed by an application if it is to do this?
THAT information is hard to come by. I have yet to find a clear and concise
explanation. You have to piece together information from multiple pages.
And to complicate things even more, changes to Win2003 security complicate
this question.

Anyone know of a good writeup on this? Hey, Microsoft!
Oct 20 '05 #1
1 1516
JV wrote:
It's great that the CLR gives us this cool EventLog object for
managing event logs. And they even give you this cool property
"MachineName" to allow you to deal with event logs on a remote server.
Its good that they created a way to *read* the event log. Its just a
pity that they mad such a mess of *writing* to it. IMO it was simply a
lazy developer at Microsoft not understanding how the event log works.
They have trie to make ammends in Whidney, but the damage has already
been done, and in my opinion they may as well scrap the event log and
come up with something else.
But what access rights are needed by an application if it is to do
this? THAT information is hard to come by. I have yet to find a
clear and concise explanation. You have to piece together
information from multiple pages. And to complicate things even more,
changes to Win2003 security complicate this question.


As I said, I think the people involved don't understand the event log.

You need to have to be in the Administrators group on the remote
machine. That's simple to do if you are running under a domain account.
If you are in a workgroup there's a trick with XP - make sure that you
have an account on the remote machine with the same name and password as
your account and put that in the Administrators group. Also make sure
that you've got the appropriate ports open.

Richard
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm
Oct 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ollie | last post by:
okay sorry for cross posting but want to see if any one can explain the solution to this problem for me: I have a .Net ASP.Net app written in C# that use COM+ components to do some business...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
8
by: Manfred Braun | last post by:
Hello All! I am writing a management application, which has to access remote machines registry via System.Diagnostics.EventLog.CreateEventSource . For each machine, I connect to, I create a...
1
by: JV | last post by:
It's great that the CLR gives us this cool EventLog object for managing event logs. And they even give you this cool property "MachineName" to allow you to deal with event logs on a remote...
6
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When...
5
by: Ankit Aneja | last post by:
This is my problem. I am using Visual 2003, .Net framework 1.1 and the Application Block I configured the DAAB using the Enterprise Library Configuration now this is the error which is coming ...
4
by: bartlomiej.szafraniec | last post by:
Hello! How I can gain access to event log on remote machine? Computers are in the same network but they are not in domain, they are only in the same workgroup. I've tried MachineName property in...
10
by: David Thielen | last post by:
Hi; I am trying to write to the event log using: public const string EVENT_LOG_NAME = "Windward Portal"; if (!EventLog.SourceExists(EVENT_LOG_NAME)) EventLog.CreateEventSource(EVENT_LOG_NAME,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.