跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

YuraCode Security

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

YuraCode Security

作者:yuracode
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

YuraCode Security helps keep your WordPress site safe from the moment you activate it. There’s nothing to set up. Every protection is already on with safe, recommended settings. You can review or change anything on the Settings → YuraCode Security screen.

We protect your site in three simple ways: Closing Security Loopholes, Stopping Password Guessers, and Filtering Bad Traffic.

1. Closing Security Loopholes

  • Hides your WordPress version: Attackers scan for specific WordPress versions with known bugs. We hide yours so you’re not an easy target.
  • Locks down the file editor: Intruders often use the built-in editor to plant malicious code. We turn it off so a compromised account can’t ruin your site.
  • Doesn’t reveal usernames: Shows the same generic error whether the username or the password is wrong, so attackers can’t tell which accounts are real.
  • Turns off risky features: We switch off little-used features that attackers often abuse to get in, like XML-RPC and application passwords.
  • Blocks AI requests: Turns off WordPress’s AI client so plugins and core can’t send prompts out from your site.
  • Adds browser protection: Tells visitors’ browsers to be stricter with your pages, which blocks a few common disguise tricks and stops other sites from pretending to be you.
  • Optional spam protection: Turn off comments entirely to stop comment spam bots (off by default).

2. Stopping Password Guessers

  • Blocks “Brute Force” attacks: Attackers use automated bots to guess thousands of passwords a second. YuraCode watches your login form and instantly locks out anyone who guesses wrong too many times (default: 5 failed attempts locks them out for 15 minutes).

3. Filtering Bad Traffic (Firewall)

Think of this as a bouncer at the door of your website. It checks every visitor before your site even loads and kicks out the troublemakers.
* Blocks malicious visitors: Recognizes known attack patterns and blocks them immediately.
* Protects your private files: Ensures sensitive files (like your site’s database settings, backups, log files, and the WordPress version files) can’t be downloaded by strangers.
* Stops malicious uploads: If an attacker manages to upload a file, this prevents the file from actually running any harmful code on your server.

Privacy

YuraCode Security makes no external requests and collects zero user data. It runs entirely on your server. The only files it writes are its own local settings and the firewall rules it manages (with an automatic backup of your original file kept in the uploads folder).

Credits

The built-in firewall ruleset is the excellent 8G Firewall by Perishable Press.

屏幕截图

The settings screen: every protection is already on with recommended settings.
The settings screen: every protection is already on with recommended settings.
Login protection: attackers are locked out after too many failed attempts.
Login protection: attackers are locked out after too many failed attempts.
The firewall: malicious traffic is blocked before it reaches your site.
The firewall: malicious traffic is blocked before it reaches your site.

安装

  1. Install and activate YuraCode Security from your site’s Plugins screen.
  2. Done! Your site is instantly protected.
  3. (Optional) If you ever need to change a setting, you can review them on the Settings → YuraCode Security screen.

常见问题

Do I need to configure anything?

No. Every protection is already turned on with safe, recommended settings. You can review or adjust them at any time under Settings → YuraCode Security.

Does YuraCode Security work on any hosting?

Yes! The core protections (closing loopholes and stopping password guessers) work on every hosting setup. The firewall feature requires an Apache or LiteSpeed server (which most shared hosting uses). If your site runs on nginx or IIS, the plugin detects that and skips the firewall, with a notice explaining why.

Does YuraCode Security speed up my site?

It is not a caching or optimization plugin, but it does trim a little: emojis and self-pinging add background code to every page, and we remove it. The effect is modest; the main benefit is security.

Does YuraCode Security send my data anywhere?

Never. The plugin runs 100% on your server, makes no external calls, and collects zero data. Your privacy is fully protected.

What happens to my site when I deactivate the plugin?

Everything goes right back to normal. The firewall’s rules are safely removed from your .htaccess file, and a backup of your original file is kept in your uploads folder just in case.

I am a developer. What exactly does it do technically?

  • Disables XML-RPC, theme and plugin file editors, application passwords, AI prompts, emojis, and self-pingbacks.
  • Hides the WordPress core and asset version strings, and returns generic login error messages.
  • Sends conservative response headers on the front end: X-Content-Type-Options: nosniff, Referrer-Policy: strict-origin-when-cross-origin, and X-Frame-Options: SAMEORIGIN. Each is only sent when nothing else has already set it.
  • Login protection throttles an IP address after too many failed attempts.
  • The firewall uses the 8G ruleset by Perishable Press, written to .htaccess and the uploads folder, to block malicious query strings, request URIs, user agents, and referrers. It also protects wp-config.php, denies public access to backup, dump, and log files (.bak, .old, .tmp, .swp, .save, .backup, .ini, .sql, .log) as well as readme.html and license.txt, and blocks PHP execution in /uploads.

评价

此插件暂无评价。

贡献者及开发者

「YuraCode Security」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • yuracode

帮助将「YuraCode Security」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.6

  • Multisite networks: the main site now drives the shared firewall, and direct access to readme.html, license.txt and licencia.txt is blocked.

1.0.5

  • Improved the settings screen: dependent options grey out with their switch, saving keeps the current tab, and a warning appears when the WordPress permalink rules are missing.

1.0.4

  • New: Validates template paths so a page cannot load a template from outside your theme.
  • New: Restricts the REST batch API to users who can edit content.
  • New: Adds an option to keep every plugin and theme on its latest version automatically.

1.0.3

  • New: A dismissible prompt on the settings screen to enable automatic plugin updates.

1.0.2

  • New: Sends safer browser response headers (file-type sniffing, referrer, and clickjacking protection).
  • Fixed: The firewall’s local-development detection now also works when the rules are generated from the command line or a scheduled task, so it no longer blocks the login page on a localhost site.

1.0.1

  • New: Turn off the built-in theme and plugin file editor.
  • Fixed: the firewall no longer gets in the way on local development sites (localhost/loopback).

1.0.0

  • Initial release.

额外信息

  • 版本 1.0.6
  • 最后更新:6 天前
  • 活跃安装数量 不到10
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 7.1.3
  • PHP 版本 8.0 或更高版本
  • 语言
    English (US)
  • 标签
    firewallloginmalwaresecurityspam
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • yuracode

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗