رفتن به مطلب

آموزش : افزايش امنيت IPB


ارسال‌های توصیه شده

  • 4 ماه بعد...
  • پاسخ 25
  • عمر موضوع
  • آخرین پاسخ

بچه ها منم مثل دوستان انجام دادم و یوزر پسورد و میزنم قبول نمیکنه! با این که درسته! نمیخوامم غیر فعالش کنم،دلیلش چیه؟ :-?

این : دایرکتوری حفاظت شده: دقیقا باید چی باشه؟ :-/:-?

لینک ارسال
به اشتراک گذاری در سایت های دیگر

  • 2 ماه بعد...

برای مورد 7 میتونید از فایلی که براتون گذاشتم استفاده کنید

http://s1.picofile.c...CP_2_3.zip.html

حتما هم قبل از استفاده مراحل زیر رو انجام بدید تا به مشکل بر نخورید

If you're upgrading from 2.1 to 2.2 (FIRST UPGRADE TO 2.1):

1؛ - Delete the "skin_cp" folder inside your "admin" folder.

#################################################

################# INSTALLATION: #################

#################################################

1؛ - Edit upload/admin/index.php and change the variables:

$pagetitle='IP.Board: Log in'; // Fake AdminCP Title

$admingroups='4'; // Separated by Commas.

$modgroups=''; // Separated by Commas.

2؛ - Upload the content of "upload" folder to your forum root.

3؛ - Visit yourforum.com

4؛ - Edit upload/admin/index.php again and change:

$installed=false;

to:

$installed=true;

#################################################

############### HTACCESS PASSWORD: ##############

#################################################

This should be done carefully. Let's imagine your Real AdminCP directory is "adminhide".

1؛ - Open "index.php" in "admin" directory, and fill in your .htaccess username and password in variables $htuser and $htpassword.

2؛ - Open ".htaccess" in "adminhide" directory, and change it:

You have something like this (ignore the ####):

#### AuthType Basic

#### AuthName "AdminCP"

#### AuthUserFile "/home/account/.htpasswds/public_html/adminhide/passwd"

#### require valid-user

Change it to:

#### AuthType Basic

#### AuthName "AdminCP"

#### AuthUserFile "/home/account/.htpasswds/public_html/adminhide/passwd"

#### <Files "index.php">

#### require valid-user

#### </Files>

That's done!

#################################################

################### ATTENTION: ##################

#################################################

1 - Do not use this modification if you didn't change your admin folder!

2- If you change your admin directory, you will need to change it manually in your forum root folder's .htaccess file.

pre656view.png

لینک ارسال
به اشتراک گذاری در سایت های دیگر

  • 5 ماه بعد...
  • 2 ماه بعد...


# Protect the conf_global.php file

<files conf_global.php>

ErrorDocument 403 http://www.yourwebsite.org/403.html

Order deny,allow

deny from all

</files>

# Protect the initdata.php file

<files initdata.php>

ErrorDocument 403 http://www.yourwebsite.org/403.html

Order deny,allow

deny from all

</files>

لینک ارسال
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

  • کاربران آنلاین در این صفحه   0 کاربر

    • هیچ کاربر عضوی،در حال مشاهده این صفحه نیست.
×
×
  • اضافه کردن...