Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2006

Tip: Looking for answers? Try searching our database.

Logging as windows system account

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ranadhir_nag - 19 Dec 2006 05:09 GMT
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.
William DePalo [MVP VC++] - 19 Dec 2006 15:40 GMT
> 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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.