Link to home
Start Free TrialLog in
Avatar of NYCmusakman
NYCmusakman

asked on

Preventing Net Send

I was wondering if anyone knew how to stop the use of net send messaging by changing permissions on an NTFS Drive?
ASKER CERTIFIED SOLUTION
Avatar of sorted_order
sorted_order
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aded
aded

another way is to stop the service..
Avatar of NYCmusakman

ASKER

Thanks for the quck reply.

You were right on the money.  

Thanks again !!!
Stopping the service makes the "net" command unavailable to ALL users. Setting file/folder permissions gives a finer-grained control over who can and can not use the command.

Of course, both methods can be undone by anyone with administrator rights - or anyone bright enough to copy the net.exe from another system (...then rename it, place it in the system path and you can have your own private "foo" command).
the problem in setting permission is that the net command is no more avaible for other purpose...
calling a script with NET USE L: \\server\Share ... ;-)