1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest ACP htaccess protection

Discussion in 'Closed Suggestions' started by John, Nov 2, 2010.

  1. John

    John Well-Known Member

    I'd like to suggest you guys consider restructuring the admin.php file so that it resides in it's own folder rather than being in the forum root as is now. Without it being in a folder, one cannot assign .htaccess protection. Some may argue it isn't needed but I prefer to make that decision myself. Look forward to hearing input back on this :)
  2. Mike

    Mike XenForo Developer Staff Member

    You can control access to individual files in a .htaccess by just wrapping <Files admin.php> ... </Files> around the code you want. (Haven't tested the code here, but that should do it :))
  3. Brogan

    Brogan XenForo Moderator Staff Member

  4. John

    John Well-Known Member

    Thanks guys, was unaware of this option...I'll give it a go :)

Share This Page