I am developing a web application (MyApp) using ASP.NET, VS 2008, C#.
The application users upload files to one of the folders under C:\Inetpub\wwwroot\MyApp\Upload.
The person installing this web app has to manually give permissions for "NETWORK" and "NETWORK SERVICE" group to the upload folder.
How do I give these permissions during the deployment of this application. I am using the "Custom_Installer:Installer" class for customizing the install process.
I am specifically looking for some API calls or functions that set the permissions for "NETWORK" and "NETWORK SERVICE" groups.