Hi!

I have a drupal site in a password protected directory. The password is there during the testing phase. Is it possible with a setup so that a flash file can still access Services? Right now the flash file's call to Services is stopped because no password is provided. Is there any way to provide the password so the call can pass through to the site?

Comments

Daniel Norton’s picture

Can you elaborate on what you mean by “a drupal site in a password protected directory”?

If you mean via HTTP authentication (e.g. Apache mod_auth_basic/digest), then it’s unrelated to services. It’s a layer outside of Drupal that’s managed strictly between the browser and the web server. If it fails authentication, Drupal never gets loaded, much less the services module.

What’s more, Adobe prohibits Flash apps from using HTTP authentication:

http://kb2.adobe.com/cps/403/kb403184.html
http://kb2.adobe.com/cps/403/kb403030.html

PWG’s picture

Hi Daniel. Thank you for your reply. Yes, I was talking about HTTP authentication. I *blush* figured the problem out. I solved it by putting the flash app in the same directory structure as the site. First I was trying to test from the local Flash IDE development environment, but then, of course, the password protection was in the way.

Petter

Daniel Norton’s picture

Assigned: Unassigned » Daniel Norton
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.