Question

  Asked: Apr 12 2008   9:41 AM GMT
  Asked by: Krsk4u


Get/Set Share Permission of a Shared Folder (Not Security Permission)


Permissions, Shared folders, ACL, Share Level Permissions

How to Get/Set Share Permissions of a Shared Folder? Am able to get the Security Permission through ACL, but am not able to ger Share Permission. Please give some code snippets in .Net....

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



To set permissions on a shared folder you can use RMTSHARE command.
rmtshare \\%computername%\ShareName to view permissions.

You can also use "shareenum" from SysInternals to view permissions of shared folders.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Security and Microsoft Windows.

Looking for relevant Security Whitepapers? Visit the SearchSecurity.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register