I have ran into a problem with an ASP.Net application. I am running the ASP.Net application on IIS 6. The application is set up so that users have their own folder to place their files in. When a user uploads a file to the file server using the ASP.Net
application/site, the file inherits the owner 'Administrator'. The only problem with this is that when a user goes to download the same file, it doesn't allow them to download the file because of the owner is 'Administrator' when the owner actually needs
to be the user. I can go into advanced permissions and set it to that it passes down the user as the owner, but when a new file is uploaded into the users folder, I have to do it manually everytime. Is there another way to make a file inherit ownership (not
permissions) from the immediate upper level folder?
please go to your folder, right click the folder, Properties and select Edit. You can select the option to inherit the permission to all the folders and subfolders
jad65
0 Points
6 Posts
ASP.Net file sharing application configuration
Jan 03, 2013 06:20 PM|LINK
Hello All,
I have ran into a problem with an ASP.Net application. I am running the ASP.Net application on IIS 6. The application is set up so that users have their own folder to place their files in. When a user uploads a file to the file server using the ASP.Net application/site, the file inherits the owner 'Administrator'. The only problem with this is that when a user goes to download the same file, it doesn't allow them to download the file because of the owner is 'Administrator' when the owner actually needs to be the user. I can go into advanced permissions and set it to that it passes down the user as the owner, but when a new file is uploaded into the users folder, I have to do it manually everytime. Is there another way to make a file inherit ownership (not permissions) from the immediate upper level folder?
necro_mancer
Star
8169 Points
1595 Posts
Re: ASP.Net file sharing application configuration
Jan 04, 2013 06:01 AM|LINK
hi there,
please go to your folder, right click the folder, Properties and select Edit. You can select the option to inherit the permission to all the folders and subfolders
Hope this helps :)
Professional SQL 2008 R2 Service