prog
May 25 2005, 06:29 PM
At work there has been a little uninstall/reinstall war going on.
I would like to make it to where a program can not be opened, weither it be making the file disappear, permissions, whatever.
All people at work have admin access to the box, but would be too dumb to find out why his program isnt being opened.
Any thoughts?
nolimit
May 25 2005, 08:18 PM
Theirs quite a few ways, the easiest being setting the ACL so no one can use it at all.
cacls <file> /D AdminAcct
This instead of editing the ACL, will make a new one stating adminacct cannot access it, and theirfore with no other ACL's, no one can access it.
prog
May 26 2005, 04:02 AM
lol, bad ass
and what would be the command to undo this?
btw this is a win2k box, still works?
belgther
May 26 2005, 05:47 AM
if you open a file in a program with CreateFile api with NO sharing, noone will be able to read the file from somewhere else.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.