Htpasswd, Magento and HTTP image uploader

When I password protect a Magento site with htaccess / htpasswd it throws a Flash uploader error. I am aware of this issue when a request from Flash is rejected. I usually run a plugin that prevents the need for Flash (http://www.magentocommerce.com/magento-connect/Tobias+Renger/extension/1756/no-flash-uploader).

I also know that the solution for making the file access password protected, which I use for Wordpress quite a lot, for the same problem. I'm not sure which php file the flash loader is loading, so I don't know which file to add:

<FilesMatch "(the-file\.php)$">
    Satisfy Any
    Order allow,deny
    Allow from all
    Deny from none
</FilesMatch>

      

Does anyone know of the hand that specifies Flash Uploader targets? I would like to defeat this problem once and for all!

+3


source to share


2 answers


Maybe you can try using this in your .htaccess file.



<LimitExcept POST>
    require valid-user
</LimitExcept>

      

+5


source


This is my solution for auth downloader and Magento Flash.



<LocationMatch "/catalog_product_gallery/upload">
    Order deny,allow
    Allow from all
    Satisfy Any
</LocationMatch>

      

0


source







All Articles