![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
New Coder ![]() Join Date: Nov 2008
Posts: 70
Thanks: 9
Thanked 0 Times in 0 Posts
![]() |
bypass Auth htaccess on dev setup? for flash,xml,php get request?
Hi all an itneresting one here that I am sure would be possible.
I am running a dev setup behind a .htaccess password and have an xml get php request that sends information to flash. With the password turned on it doesnt work, with password off it works. I would love to find a way to let this get request through so I dont have to remove password from my htaccess to test. Any ideas? I presume it would be something along the lines of Code:
AuthUserFile /blah/blah/.htpasswd AuthName "Dev" AuthType Basic require valid-user Order Deny,Allow Deny from all Allow from your own ip Allow from 127.0.0.1 Its not a biggy as said I can just turn the password on or off, but curiosoty has got me here. Thanks in advance |
|
|
|
|
|
PM User | #3 |
|
Regular Coder ![]() Join Date: Jun 2002
Location: Nashville, TN
Posts: 339
Thanks: 0
Thanked 25 Times in 25 Posts
![]() |
I think the flash object gets its data from the server just like an AJAX call...
From flash, can you pass username & password credentials like you can with AJAX? You may want to check the referrer header too. If it is from your site, let them pass.
__________________
eak | "Doing a good deed is like wetting your pants; every one can see the results, but only you can feel the warmth." |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|