views:

29

answers:

3

I have a flash swf application and the swf need the support of the .php files to get data. But my server folder is protected with htaccess and htpasswd. So the access from flash is not possible. How can I overcome this situtation?

A: 

You could make a little proxy php script that gets the data from the protected files and sends that data back to flash.

__dominic
A: 

This is not possible. Flash is not able to send credentials to the server, but as __dominic said, you would require a PHP script to login for you. This would act as a 'gateway' to your data, but the PHP script acting as the gateway would have to be in a non-password protected folder so Flash could access it.

Joel Kennedy
A: 

This should be possible. See other thread.

Inigoesdr