[外掛]保護使用者帳號1.1.0版

MODs Released by Other phpbb Sites
非官方認證通過之 MOD ,或許有安全性之疑慮,所有問題由原發表者回覆!

版主: 版主管理群

主題已鎖定
ckm
竹貓好朋友
竹貓好朋友
文章: 10
註冊時間: 2002-05-02 22:57
來自: 遙遠的宇宙
聯繫:

[外掛]保護使用者帳號1.1.0版

文章 ckm »

這個mod會保護使用者的帳號並給予管理員決定什麼類型的密碼才能被接受
此mod內附資料庫更新執行檔,請自行至原作者網站下載
檔案下載處:http://mods.db9.dk/viewtopic.php?t=555
我的論壇將會提供範例,請註冊後連續輸入錯誤密碼達十次,你的帳號就會被暫時封鎖!
注意:之前有安裝過舊版本的網友,請到我的論壇觀看最新修正說明
以下釋出我自行翻譯的正體中文語系(僅適用於1.1.1版)

代碼: 選擇全部

############################################## 
## Mod Title: Chinese Traditional language to Protect useraccount mod 
## Mod Version: 1.0.2 
## Author: Bill,Yuan-yao Shih <Email:service@csfuture.com> 
## Description: 
## This is the language plug-in to support Chinese Traditional(Taiwan)language<For Ver 1.1.1>
## 
## Installation Level: easy 
## Installation Time: 2-3 Minutes 
## Files To Edit: phpBB2/language/lang_chinese_traditional_taiwan/lang_main.php 
## Files To Edit: phpBB2/language/lang_chinese_traditional_taiwan/lang_admin.php
## Files To Edit: phpBB2/language/lang_chinese_traditional_taiwan/email/bad_login.tpl
############################################### 
## 
## Installation Notes: 
## 
## Only need if your board support Chinese Traditional (Taiwan) 
## 
############################################### 
# 
#-----[ OPEN ]------------------------------------------ \r
# 
language/lang_chinese_traditional_taiwan/lang_main.php 

# 
#-----[ FIND ]------------------------------------------ 
# 
#  AT THE BOTTOM OF THE PAGE 
// 
// That's all Folks! 
// ------------------------------------------------- 

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
//add on for protect useraccount mod 
$lang['Error_login_tomutch']='您所輸入的會員名稱因為<b>連續密碼輸入錯誤</b>已被鎖定,請稍後再試'; 
$lang['Password_not_complex'] ='您輸入的密碼並不符合本站的規則,您應該確認: 密碼'; 
$lang['Password_to_short'] = '至少要 %d 個字元長'; 
$lang['Password_mixed'] = '必須混雜英文字母和數字'; 
$lang['Password_not_same'] = '不可以和您的會員名稱相同'; 
$lang['Time_format'] = 'D d. M, Y H:i:s';// how time should be showen in email notification

# 
#-----[ OPEN ]------------------------------------------ 
# 
#    (make sure to edit this file for every language your admin uses). 
language/lang_chinese_traditional_taiwan/lang_admin.php 

# 
#-----[ FIND ]------------------------------------------ 
# 
// That's all Folks! 
// ------------------------------------------------- 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

//Added Protect useraccount mod 
$lang['user_password_settings'] = '會員密碼設定'; 
$lang['Max_login_error'] = '當輸入錯誤密碼時鎖定使用者'; 
$lang['Max_login_error_explain'] = '如果一個使用者輸入錯誤密碼的次數超過這個數值,這個帳號將會被鎖定一段時間'; 
$lang['Block_time'] = '鎖定帳號時間'; 
$lang['Block_time_explain'] = '帳號被鎖定某段(單位:分鐘)時間的數值,當一個使用者輸入錯誤密碼的次數超過"當輸入錯誤密碼時鎖定使用者"的數值時'; 
$lang['User_is_blocked'] ='使用者已被鎖定'; 
$lang['Unblock_user'] ='解除鎖定使用者'; 
$lang['Password_complex'] = '複合密碼'; 
$lang['Password_complex_explain'] = '使用者的密碼必須混雜字母和數字'; 
$lang['Password_len'] = '最小密碼長度'; 
$lang['Password_len_explain'] = '有效數值範圍為 [ 1 - 32 ]'; 
$lang['Password_not_login'] = '密碼必須不同於登入名稱'; 
$lang['Password_not_login_explain'] = '密碼如果和登入的使用者名稱相同將不會被認可'; 
$lang['Account_block'] = '帳號鎖定'; 
$lang['Account_block_explain'] = '在這裡您可以瀏覽/設定或重設會員的鎖定資訊'; 
$lang['Block_until'] ='鎖定到: %s';// %s is substituded with the date/time 
$lang['Block_by'] = '鎖定,因為IP: %s';// %s is substituded with the ip addr. 
$lang['Last_block_by'] = '最後鎖定因為IP: %s';// %s is substituded with the ip addr. 
$lang['Unblock_user'] ='解鎖定會員帳號'; 
$lang['Block_user'] ='鎖定會員帳號 %s 分鐘';// %s is substituded with the date/time 
$lang['Badlogin_count'] = '登入失敗的次數';

# 
#-----[ BUILD ]------------------------------------------ 
# 
#    (make sure to edit this file for every language ). 
language/lang_chinese_traditional_taiwan/email/bad_login.tpl

# 
#-----[ CONTEXT ]------------------------------------------ 
# 

Subject: 帳號現在被禁止 
Charset: big5

您好, {USER}

我們偵測到您的帳號有 {BAD_LOGINS} 次登入失敗
因此您在 {SITENAME} 的帳號已被暫時停權 {BLOCK_TIME} 分鐘.

這個動作是為了確保您的帳號有最大的安全性.
您將可以在 {BLOCK_UNTIL} 之後使用正確的密碼重新嘗試登入.

如果您沒有嘗試登入錯誤卻收到此警告,
您可以考慮向系統管理員報告此事.

在 {SITENAME}, 我們致力於保護您的帳號,然而如果帳號有弱點就算有再好的保全也是無用的,
因此您將會被建議嘗試利用最好的方式保護您的帳號和密碼.
如何降低被駭的可能:
 - 千萬不要使用 "簡單的密碼" 像您的生日或寵物的名字等
 - 同時利用字母和數字組合密碼\r
 - 越長的密碼越不容易被猜到.
 - 在不同的網站使用不同的密碼, 例如: 將該網站的部分名稱放置在密碼的開頭\r
 


{EMAIL_SIG}

Seize the day and create a better future
ckm@NTHU Blog
主題已鎖定

回到「非官方認證外掛」