[WordPress] 外掛分享: HTTP/1.1 403 Forbidden header on a failed login

首頁外掛目錄 › HTTP/1.1 403 Forbidden header on a failed login
200+
安裝啟用
★★★★★
5/5 分(2 則評價)
3647 天前
最後更新
問題解決
WordPress 4.0.0+ v1.0 上架:2016-03-22

內容簡介

此外掛在登入失敗時發送「HTTP/1.1 403 Forbidden」標頭,而非 WordPress 預設的「HTTP/1.1 200 OK」標頭。這是一個非常簡單的外掛,只做這一件事,不多也不少。

此外掛的目的是提供一種方式,讓外部工具(如 fail2ban)得知登入失敗的訊息,例如以防止防火牆層面的暴力攻擊。

為公共領域所使用。

使用 PHP 5.3 的匿名函式,並且無法在早期版本的 PHP 上運作。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「HTTP/1.1 403 Forbidden header on a failed login」→ 直接安裝(推薦)

原文外掛簡介

Send an “HTTP/1.1 403 Forbidden” header on a failed login instead of “HTTP/1.1 200 OK”, which is the WordPress default header on failed login. This is a tremendously simple plugin that does only that and absolutely nothing else.
The purpose of this plugin is to provide a way to allow external tools like fail2ban to get a message of a failed login e.g. to prevent a brute-force attack on a firewall level.
For the public domain.
Uses PHP5.3 anonymous functions and will not work on earlier versions of PHP

延伸相關外掛

文章
Filter
Mastodon