Protecting admin.php and the install directory using htaccess

guclusat

Tanınmış Üye
Süper Moderatör
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:

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

devamı ektedir
 

Eklentiler

  • Protecting admin_php and the install directory using _htaccess.zip
    328,9 KB · Görüntüleme: 1
Geri
Yukarı