Hai experts out there, i have a situation where i need to develop a web system where sys. admin can create a shared folder in server and set who can access the shared folder programmatically.
i've manage to find example to create a shared folder from here:
http://www.codeproject.com/KB/system/Share-Folder-c_.aspx
and i also manage to find example to add user and set folder Security setting from here:
http://www.redmondpie.com/applying-permissions-on-any-windows-folder-using-c/
My problem is how can i add user in the Sharing permission setting since it is a shared folder. Default sharing setting is set to 'everyone'. This mean anyone in my company can browse to the shared file unless i set everyone security setting.
...
Go to the complete details ...