asp.net - IIS: Anonymous and WIndows Authentication -
scenario
I am implementing a multi file uploader, I have a handler in a window A certified site that uses anonymous access.
Broadly, this is because the Flash Window can not use authentication. In the above post, it has been said that the only way to complete this is to create a completely separate site. However, it seems like a big trouble just for an uploader.
Is there any way of working around this limit of IIS?
Notes
I am using ASP.NET 3.0 and IIS6 with Service Pack 2 on a Windows 2003 server.
You directory as a sub-directory on a virtual main site.
-
Create a folder somewhere on the machine. Ensure that the IUSR account has signed in to read / write this folder.
-
Create virtual directories in your website through IIS, point to it in the folder that you created
-
on the virtual directory Allow unknown access, and clear windows authentication.
It would be nice to go to you. Please note that, with unknown access, anyone will be able to read / write in this folder, even without using your Flash application.
The way I did this in the past, it was to store the documents in a database, and a session token is required to pass through the flash application before returning the file from the database. You can apply a similar approach to sharing a file (upload .appx which will check the atte, then grab the file from the folder that is not accessible from the web).
Comments
Post a Comment