The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

XML datafeed and password protection

cowtancowtan Member
in Bugs & Feature Requests edited May 2011
This is not a big issue for me but I thought I'd ask the question just in case there's a straightforward answer...

The site I'm developing at the moment I was protecting from prying eyes using straightforward .htaccess password protection. I'm also using the foxycart xml datafeed to capture and store info about the transactions that take place. The problem is that the xml datafeed can't access the script that handles it because the script is password protected, along with the rest of the site.

So far I've got round this by taking down the password protection but I'm wondering if there's any way for the XML feed to give the username and password so I can re-apply it.

  • lancelance Member, Community Support Member

    There really wouldn't be a way for the feed to provide credentials the way it is currently set up; however, you can add this to your .htaccess file:
    <Files "/path/to/script.ext">
      Allow from all
      Satisfy any
    That should successfully exclude that particular file from requiring password protection.

    Does this help?

  • cowtancowtan Member
    Blindingly obvious once someone points it out. Thanks Lance. Gordon
Sign In or Register to comment.