|
|||||||||||
|
RE: Any way to remove ADMIN$ only?
From: Roger Seielstad <roger(at)wiredeuclid.COM>
Date: Wed Nov 06 2002 - 21:01:34 EST
Add to that the fact that share permissions only apply when accessed *through that specific share*, but not through other shares that might be higher in the file system heirarchy. Therefore, the only way to ensure that consistent permissions are applied to the users no matter how the data is accessed, you must use file level (NTFS) permissions. Since file level permissions are in effect and remembering that the most restrictive permissions apply (when combined with share level), there is no significant reason to burden the administrative staff with restrictive share level permissions. These permissions only serve to frustrate troubleshooting of access issues, and effectively double the workload of administrators. Personally, I like to set all public shares to Authenticated Users|Full Control, and NTFS permission the heck out of things. Roger D. Seielstad Email Geek
-----Original Message-----
-----Original Message-----
The best practice is in fact to use default (Everyone=Full) share permissions and to set NTFS security on all drives (with inheritance for 2K and newer systems running NTFS 5 or greater). Share permissions should really only be used when absolutely necessary, such as on FAT volumes where ACE's cannot be applied. Conflicts between share and NTFS perms always cause headaches down the road, and NTFS perms secure the files and directories for locally logged on users as well. If you are sharing C and D, of which one is the system drive, how will removing the admin$ share (winnt) make the system any more secure, if the drive it resides on is shared out? NTFS permissions seem like a more comprehensive solution. The presence of any of the administrative shares is a security hole, regardless.
-----Original Message-----
The only problem with using "net share" to create shares is that it applies default permissions to those shares it creates. These include "Everyone=Full"; obviously not an ideal scenario, especially given the default security of Windows drives (Everyone=Full). I've written a script that will create shares that only allow those accounts listed in the local server's administrator's group to have access to the share you choose to create. http://isatools.org/createshare.zip
The burden of proof is not satisfied by a lack of evidence to the contrary..
-----Original Message-----
write a script that will launch each time upon machine bootup that 'unshares' that share. 'net share admin$ /delete'
I don't know of any registry setting that will remove only that share
and
Understand also that anyone with admin privileges to that machine can recreate that share at any time. At 01:11 PM 11/4/2002 -0500, Palumbo, Dave (Factiva) wrote: >Hello, > >I have a scenario in which I'd like to remove the ADMIN$ share from a >Windows 2000 server, but keep the other default shares (c$, d$) >available for an application...is there any documented/undocumented way >to accomplish this? If this is documented, please forgive me....but I >sure can't find it. I am aware of the >HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\AutoShar>eServ >er=0 registry key...but this disables all the default shares (save IPC$). >Again, I'm just looking to remove ADMIN$. > >Any ideas? > >Thanks, > >Dave Palumbo > http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x41F746F8Received on Thu Nov 7 15:23:36 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:24 EDT |
||||||||||
|
|||||||||||