xF1 Protecting admin.php and the install directory using .htaccess

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,470
    7,711
    321
    localhost
    Heisenberg submitted a new resource:

    - Protecting admin.php and the install directory using .htaccess

    This resource is not affiliated with XenForo Ltd.

    If you want to provide an extra layer of protection to admin.php and the /install directory, you can do so with .htaccess.


    Protecting admin.php
    To protect admin.php, edit the .htaccess file which is in your forum root directory (e.g. /community) and add the following to it:

    Code:
    <Files admin.php>
    AuthType Basic
    AuthName "ACP"
    AuthUserFile "path/to/passwd/file"
    Require valid-user
    </Files>

    The...

     
    Thread starter Similar threads Forum Replies Date
    ven0m xF1 Create another Super Admin Tips & Guides 0
    CtrlAltDel xF1 Disable Two-Step Verification (config.php) [Deleted] Tips & Guides 1