Need to block a program from saving file to temp directory.

Status
Not open for further replies.

MaXtor

Posts: 470   +535
I need block a program from saving to temp directory. Its a little project of mine and I need a program or something that is capable of blocking a program from using with temp directory located here:
C:\Documents and Settings\---Account---\Local Settings\Temp

When the program is ran it saves a temperary file in that directory, I need a way to stop it this. Sorry I can't really explain why. Can anyone help me?

I don't care if the Temp folder is disabled or anything, I just need to stop the program from saving that temp file. Also the file changes names, so its like "randomname".tmp...

I need help ASAP...
Thank you so much!
 
Are you running xp home edition? too bad. no fix.

Running professional? on ntfs partition?
Good.

Create a backup administrator in user management
Find out the process which writes the file (use process explorer from sysinternals.com) and its user.
(continue only when it is not localsystem)
Block the user from the process by setting read only rights (list execute and read) on the security tab of the folder. Apply settings and propagate to children.

Make sure you dont deny the groups!!! only the user the process runs with.
 
you can find how to adjust under mycomputer properties advanced environment variables
can delete and move to another drive and rename
 
Status
Not open for further replies.
Back