I recently discovered that my magmi ui in magento is not secured. I found instructions on securing it but I need to ensure that my scripts can still access it when I secure it. Can anyone help me with this?

  • 1
    How did you secure it - by what means? Htaccess / basic auth? – philwinkle Jun 18 '13 at 14:00
  • I secured it using .htaccess – TwoEyedDan Jun 19 '13 at 16:15
  • order allow, deny deny all – TwoEyedDan Jun 19 '13 at 16:15

Htaccess security only prevents directory-level access to external requests via Apache. In that case, it is still possible to read/write to the directory from other scripts.

A good example of this from Magento is that the var directory has a standalone .htaccess:

$ cat var/.htaccess 
Order deny,allow
Deny from all

The directory can be written to from the application, but cannot be read, indexed or otherwise traversed via the web interface.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.