title: How do you allow multiple file uploads on an internal windows-authentication intranet?
body: <p>I have a couple of solutions, but none of them work perfectly.</p>
  
  <p><strong>Platform</strong></p>
  
  <ol>
  <li>ASP.NET / VB.NET / .NET 2.0</li>
  <li>IIS 6</li>
  <li>IE6 (primarily), with some IE7; Firefox not necessary, but useful</li>
  </ol>
  
  <p><em>Allowed 3rd Party Options</em></p>
  
  <ol>
  <li>Flash</li>
  <li>ActiveX (would like to avoid)</li>
  <li>Java (would like to avoid)</li>
  </ol>
  
  <p><strong>Current Attempts</strong></p>
  
  <p><em>Gmail Style</em>: You can use javascript to add new Upload elements (input type='file'), then upload them all at once with the click of a button. This works, but still requires a lot of clicks. (I was able to use an invisible ActiveX control to detect things like File Size, which would be useful.)</p>
  
  <p><em>Flash Uploader</em>: I discovered a couple of Flash Upload controls that use a 1x1 flash file to act as the uploader, callable by javascript. (One such control is <a href="http://digitarald.de/project/fancyupload/" rel="nofollow noreferrer">FancyUpload</a>, another is <a href="http://www.sitepen.com/blog/2008/09/02/the-dojo-toolkit-multi-file-uploader/" rel="nofollow noreferrer">Dojo's Multiple File Uploader</a>, yet another is one by <a href="http://www.codeproject.com/KB/aspnet/FlashUpload.aspx" rel="nofollow noreferrer">darick_c at CodeProject</a>.) These excited me, but I quickly ran into two issues:</p>
  
  <ol>
  <li>Flash 10 will break the functionality that is used to call the multiple file upload dialogue box. The workaround is to use a transparent flash frame, or just use a flash button to call the dialogue box. That's not a huge deal. </li>
  <li>The integrated windows authentication used on our intranet is not used when the Flash file attempts to upload the files, prompting the user for credentials. The workaround for this is to use cookieless sessions, which would be a nightmare for our project due to several other reasons.</li>
  </ol>
  
  <p><em>Java Uploader</em>: I noticed several Java-based multiple-file uploaders, but most of the appear to cost money. If I found one that worked really well, I could arrange to purchase it. I'd just rather not. I also don't like the look of most of them. I liked FancyUpload because it interacted with html/javascript so that I could easily style and manage it any way I want. </p>
  
  <p><em>ActiveX Uploader</em>: I found <a href="http://support.persits.com/xupload/demo1.asp" rel="nofollow noreferrer">an ActiveX solution</a> as well. It appears that ActiveX will work. I would just write my own instead of buying that one. This will be my last resort, I think.</p>
  
  <p><strong>Resolution</strong></p>
  
  <p>I would love to be able to use something like FancyUpload. If I can just get by the credentials prompt some way, it would be perfect. But, from my research, it appears that the only real workaround is cookieless sessions, which I just can't do. </p>
  
  <p>So, the question is: Is there a way to resolve the issues presented above OR is there a different solution that I have not listed which accomplishes the same goal?</p>