• Resolved gwdlarry

    (@gwdlarry)


    Hi there,

    as always, NinjaFirewall is one of the standard plugins we install on each and every site we make.

    Does it make sense to protect the htninja file when placed in the document root folder with an htaccess entry like:

    <Files .htninja>
    order deny,allow
    deny from all
    </Files>

    Thanks and best regards,
    Larry

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nintechnet

    (@nintechnet)

    If you’re running Apache, there’s no need for it because by default Apache doesn’t serve files starting with “.ht”. If you’re running another HTTP server, make sure you cannot download the file by accessing https://YOUR-SITE/.htninja with your browser.

    Thread Starter gwdlarry

    (@gwdlarry)

    Thanks for your reply. As always very helpful.

    • This reply was modified 1 year, 9 months ago by gwdlarry.
    dimal

    (@dimalifragis)

    Litespeed web server also doesn’t server any .ht

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Protecting htninja with htaccess’ is closed to new replies.