views:

448

answers:

2

Hi guys

I'm running into an issue with Uploadify and I hope someone can help. I have put Uploadify into my app and all works fine in dev (using the VS web server). All worked fine and checked until I deployed the app into my test environment which uses Integrated Windows Authentication.

When I actually go to upload the file, the browser brings up a login prompt. At this point, even if you type in the correct username and password, the request seems not to complete and even if you tell the browser to remember the password it still brings up the login prompt.

When this started to occur, I decided to spin up Fiddler and see what was going on. But guess what, when ever Fiddler is running the issue doesn't occur.

Unfortunately I can't make running Fiddler a reuqierment for running the app. Hence does anyone have any ideas. I know there are some issues with Uploadify/flash when using forms authentication but I didn't think they carried across to Integrated Windows Authentication.

Cheers Anthony

A: 

Flash doesn't always send the same headers with it's request to the server as the browser does. and it varies between browsers.

you will also have problems with cookies/sessions.

Stephen Dolier
So how do I fix it? I was thinking of adding the page that the file uploads are posted to in web.configs page security exception list, but I really don't want to do that.
vdh_ant
Maybe if I put the page in the exception list and then write a security token to the page that triggers the post and then send that through as part of the post...
vdh_ant
That's exactly what we did, passed a token allong with the post and test the validity of it server side. not ideal security wise, but if that's ok, it works.
Stephen Dolier
I can see the token working for forms auth (because there is already a token generated for the cookie) but any thoughts of the top of your head for how you would carry this across with Integrated Windows Authentication?
vdh_ant
A: 

Hi.. I too have the same problem with windows authentication.

Please can you please help, if you have any solution.

Surendra
I ended up having to ditch uploadify and go with the following... it does everything uploadify does except for telling you what the percentage upload is - http://plugins.jquery.com/project/CustomFile
vdh_ant