Setting file / folder permissions
-
Hi there I need to set file & folder permissions [Read/Write] from an ASP.NET application (the application will set the permissions at the same time that it creates the files and folders) Files are on a remote store Authentication will be via AD Any advice?
-
Hi there I need to set file & folder permissions [Read/Write] from an ASP.NET application (the application will set the permissions at the same time that it creates the files and folders) Files are on a remote store Authentication will be via AD Any advice?
Hi there, IMHO, you can use the class[^] to execute the cacls.exe tool to grant the permissions on a specific folder. However, there are a couple of things that you might take into account: + The ASP.NET process identity may need the right permission to call the cacls.exe. + The generated folder may inherit the permissions from the parent folder. This link[^] can give you more information.
-
Hi there, IMHO, you can use the class[^] to execute the cacls.exe tool to grant the permissions on a specific folder. However, there are a couple of things that you might take into account: + The ASP.NET process identity may need the right permission to call the cacls.exe. + The generated folder may inherit the permissions from the parent folder. This link[^] can give you more information.