Computing.Net > Forums > Windows Server 2003 > Permissions problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Permissions problem

Reply to Message Icon

Name: RedEagle
Date: May 4, 2009 at 07:12:34 Pacific
OS: Windows XP
Subcategory: Configurations
Comment:

Hello everyone!

I created a script which is executed whenever a user logs in. What it basically does is write the login information to a log file.
Now, what I would like to do is restrict the access to the generated log file, so that only I can view that file and not the remaining domain users.
Being so I created a folder that can only be accessed by me and the administration account. I gave the administration account permission because I was convinced that the script would be executed by this account, but how silly of me, it's executed under the account logging in.
Being so, how can I overcome this problem? Is there anyway to run the script as administrator whatever the user? Thanks!




Sponsored Link
Ads by Google

Response Number 1
Name: guapo
Date: May 5, 2009 at 06:48:41 Pacific
Reply:

The way I understand it, admin scripts should be startup scripts, not login for security reasons.

Let it run as the user. Write the log to a .doc file. Password protect the file. No one can read or modify it but you.

Another option is encrypt it.

How do you know when a politician is lying? His mouth is moving.


0
Reply to Message Icon

Related Posts

See More


Group policy not applying... How to create Restore Poi...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: Permissions problem

Win 2003 server permissions problem www.computing.net/answers/windows-2003/win-2003-server-permissions-problem/574.html

win2003 server permission problem www.computing.net/answers/windows-2003/win2003-server-permission-problem/4877.html

Permission Problems www.computing.net/answers/windows-2003/permission-problems/963.html