如何在WordPress登录屏幕上添加安全问题

Most financial institutions and large companies require you to add security questions on your account for identity verification. Recently one of our readers asked if it was possible to add security questions in WordPress to add an additional security layer. In this article, we will show you how to add security questions to WordPress login, registration, and reset password page.

大多数金融机构和大公司都要求您在帐户中添加安全问题,以进行身份​​验证。 最近,我们的一位读者询问是否可以在WordPress中添加安全性问题以添加额外的安全性层。 在本文中,我们将向您展示如何向WordPress登录,注册和重置密码页面添加安全性问题。

Adding security questions to WordPress login page
为什么要在WordPress的登录和注册表单中添加安全性问题? (Why Add Security Questions to Login & Registration Forms in WordPress?)

There are many ways to protect WordPress admin area from unauthorized access. However, if you run a multi-user or WordPress membership site, then it becomes difficult to choose between security and user experience.

有很多方法可以保护WordPress管理区域免受未经授权的访问。 但是,如果您运行多用户或WordPress成员资格站点 ,则很难在安全性和用户体验之间进行选择。

Adding a security question to your WordPress site’s login screen acts like an additional password. Your users can choose a question from a list of random questions and then add an answer to that question.

在您的WordPress网站登录屏幕上添加安全问题就像一个额外的密码。 您的用户可以从随机问题列表中选择一个问题,然后为该问题添加答案。

This makes it difficult for hackers to enter a website using compromised password or email address.

这使黑客很难使用受破坏的密码或电子邮件地址进入网站。

Having said that, let’s see how you can easily add security questions to your WordPress site.

话虽如此,让我们看看如何轻松地将安全性问题添加到WordPress网站。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

添加安全性问题以改善WordPress登录安全性 (Adding Security Questions to Improve WordPress Login Security)

First thing you need to do is install and activate the WP Security Question plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活WP安全问题插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visit Settings » Security Questions page to configure the plugin settings.

激活后,您需要访问设置»安全问题页面来配置插件设置。

Edit, remove, or add security questions

You will see a list of security questions already setup. You can add your own security questions by clicking on the “Add more” button at the bottom. Alternatively you can also edit or remove the existing questions.

您将看到已经设置的安全问题列表。 您可以通过单击底部的“添加更多”按钮来添加自己的安全性问题。 或者,您也可以编辑或删除现有问题。

At the bottom of the settings pages, you will find the options to enable security questions on login, registration, and lost password pages.

在设置页面的底部,您会找到用于启用登录,注册和密码丢失页面上的安全性问题的选项。

Enable security questions on login, registration, and lost password pages

Don’t forget to click on the save settings button to store your changes.

不要忘记单击“保存设置”按钮来存储您的更改。

That’s all. From now on all users on your site will be asked to select and answer their security question on the login page.

就这样。 从现在开始,将要求您网站上的所有用户在登录页面上选择并回答他们的安全性问题。

Login form with security question

Your WordPress site’s registered users can visit their Profile page to select a security question and add their answer to it.

您的WordPress网站的注册用户可以访问其“ 个人资料”页面以选择一个安全问题并为其添加答案。

Users can select a question and add answer on their profile edit page

Users who do not set a security question will still be able to login by just using their username/email and password.

未设置安全性问题的用户仍然可以使用其用户名/电子邮件和密码登录。

If you enabled security questions on registration page, then new users will be able to select a security question during registration.

如果在注册页面上启用了安全问题,则新用户将能够在注册过程中选择一个安全问题。

WordPress user registration with security question

Enabling security question on forgot password page will ask users to answer their security question to get the password reset email.

在“忘记密码”页面上启用安全性问题将要求用户回答其安全性问题,以获取密码重设电子邮件。

If a user’s email address is compromised, then this would stop someone from gaining access by resetting password.

如果用户的电子邮件地址被泄露,那么这将通过重置密码阻止某人获得访问权限。

Forgot password

At WPBeginner, we use Sucuri to protect our website from malicious attacks and login attempts. Sucuri is a web security company that offers website monitoring and firewall services.

在WPBeginner,我们使用Sucuri保护我们的网站免受恶意攻击和登录尝试。 Sucuri是一家网络安全公司,提供网站监视和防火墙服务。

See how Sucuri helped us block 450,000 WordPress attacks in 3 months.

了解Sucuri如何帮助我们在3个月内阻止了450,000次WordPress攻击

We hope this article helped you learn how to add security questions to your WordPress login screen. You may also want to see our guide on how and why you should limit login attempts in WordPress.

我们希望本文能帮助您学习如何向WordPress登录屏幕添加安全性问题。 您可能还想查看我们的指南,以了解如何以及为何应限制WordPress中的登录尝试

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-add-security-questions-to-wordpress-login-screen/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值