Programatic Unzipping and Permissions issues.
I'm in charge of taking an ASP application and porting it from Win 2003 to Windows 7. We're using an AWS instance running the Datacenter edition. I've done some IIS work before, but I still am 'rusty' when it comes to windows permissions. The use case. I have an ASP that the user uploads a zipped file with. After its uploaded, the ASP programatically unzips it (using xceed's control).The the ASP tries to read an XML file from the unzipped files. The problem is, when the file is unzipped, the ASP can't access the XML file. I have given the Users group ownership of the directory where the unzipping occurs. When I examine the permissions of the unzipped files, the User group isn't mentioned, its just the System, Admins and a mystery user with a UUID type name, (for example Account Unknown(S-1-5-21-1882302272-1537793553-4282331257-1699)). I am thinking there might be two possible issues. One is the unzipping is trying to create a permissions group (my investigation into the control seems to indicate this shouldn't be happening). The other issue is that perhaps I don't have the parent permissions set correctly, or IIS7 set correctly. I'm posting here, to see if anyone has encountered this before, and am hoping its just a checkbox I'm missing, either in the security settings or in IIS7. This didn't happen on 2003/IIS5, but the unzipping was a different version as well. Thanks in advance.
April 29th, 2011 6:05pm

Hi, Thanks for the post! Maybe you can refer to these: http://stackoverflow.com/questions/3240047/reading-xml-file-from-client-machine-getting-access-to-the-path-is-denied http://forums.asp.net/t/1641781.aspx/1 Since we're not familiar with ASP, please ask this question in ASP forum. Regards, Miya Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2011 3:47am

Just to follow up since others might be fighting with this. The solution was in the zip file library, setting it to ignore windows security information. BTW, I realize that this is not an ASP forum, I was only asking for help in inheritable permissions.
May 6th, 2011 2:38pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics