Hello, I’m a web craftsman with a passion for the modern web. I build web applications and play with social services and communities.
Recently I created a Flash-based file uploader for a website that was behind a HTTP Basic Auth.
So I was looking for a workaround for this problem and came across a simple solution. You have to exclude the server-side script (async-upload.php in this example) that receives the uploads from Flash from the Basic Auth. To do so you can add the following lines to the .htaccess file in the same directory as the server-side script.
# Exclude the file upload script from authentication
Allow from all
Deny from none
Hope this will help someone.