When I password protect my project using htpasswd & htaccess the swfupload will not complete, and returns a 'Upload Error: 401' error. Anyone know how to let swfupload know you are already logged into the apache password protected area?
When I password protect my project using htpasswd & htaccess the swfupload will not complete, and returns a 'Upload Error: 401' error. Anyone know how to let swfupload know you are already logged into the apache password protected area?
August 3, 2008 - 2:06pm
HTTP Authentication is not supported. The Flash Player documentation claims that it will handle it but I've never seen it work properly.
November 7, 2008 - 2:19am
Hi I went ahead and built in swfupload into a directory protected under http auth. So yes I have the same problem as ywftg. I am using OsCommerce which uses .htpasswd for securing the directory. Shame to have found this out only after the fact. So, gyphie, as you say, HTTP Authentication is not supported, but Flash says it should, but you have never seen it work properly.
Any chance the flash maintainers (adobe?) can be poked into testing this scenario? Get them to either explain clearly in their own docs how it will work OR indicate that it really doesn't.
Otherwise, swf upload is really damn sweet.
November 7, 2008 - 10:20am
HTTP Auth works for me somethings in IE. Otherwise I have not been able to get it to work.
We've had little success in getting any support from Adobe. They don't seem to be interested in this area. I think Flash is becoming a media player player plugin.
November 21, 2008 - 10:24pm
How can I prevent it. I only added ASP.net on IIS, but it show me Upload Error: 401
January 21, 2009 - 7:08am
I got 401 when i don't have disk permissions for write.
When i fix it - IE 7 and FF2 works well with "http auth".
February 17, 2009 - 3:52pm
It seems HTTP authentication support would be helpful to a lot of us. It's too bad adobe won't recognize this.
February 18, 2009 - 6:50am
I don't know if this would help every one, but is there a way to turn off authentication just for upload.php? Say, if you are using Apache basic authentication.
March 7, 2010 - 4:31pm
You can turn off authentication for one file... just put something like this in an .htaccess file in the same directory:
<Files "upload.php">
Satisfy Any
</Files>