By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,793 Members | 1,257 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,793 IT Pros & Developers. It's quick & easy.

Logging as windows system account

P: n/a

We have written a windows ATL server application which runs as a windows
service(system account).
Since the system account does not have file-write prmissions,we are
searching for a way how to introduce logging mechanism into this
application(either to file or event log).
Any help on this will be appreciated.
FYI, this program launces a browser to perform certain actions and so
the servicei s configured with 'Interact with desktop' permission.

--
ranadhir_nag
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Dec 19 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"ranadhir_nag" <ra*****************@mail.codecomments.comwrote in message
news:ra*****************@mail.codecomments.com...
We have written a windows ATL server application which runs as a windows
service(system account).
Since the system account does not have file-write prmissions,
You are trying to write to a remote file?
we are searching for a way how to introduce logging
mechanism into this application(either to file or event log).
What is is that you have tried and how does it fail? Services running under
the Local System account should have free rein on the local machine -
writing to files and appending to the event log included?
Any help on this will be appreciated.
FYI, this program launces a browser to perform certain actions and so
the servicei s configured with 'Interact with desktop' permission.
First, doing that exposes you to unnnecessary risk. Google for "shatter
attack" or "shattered windows" for details.

Second, IIUC, that approach breaks next month when Vista is widely released.

Regards,
Will
Dec 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.