wordpress安全_WordPress安全密钥的内容,原因和方式

wordpress安全

If you are using WordPress and did a little reading about WordPress Security, then you should have seen a mention of WordPress Security Keys (Secret Keys). In this article, we will explain the what, why, and hows of WordPress Security Keys for WordPress Beginners.

如果您使用的是WordPress,并且对WordPress安全性有一些了解,那么您应该已经提到了WordPress安全性密钥(秘密密钥)。 在本文中,我们将解释WordPress初学者的WordPress安全密钥的内容,原因和方式。

什么是WordPress安全密钥? (What are WordPress Security Keys?)

WordPress Security Keys is a set of random variables that improve encryption of information stored in the user’s cookies. There are a total of four security keys: AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, and NONCE_KEY

WordPress安全密钥是一组随机变量,可以改善对用户Cookie中存储的信息的加密。 共有四个安全密钥:AUTH_KEY,SECURE_AUTH_KEY,LOGGED_IN_KEY和NONCE_KEY

为什么要使用WordPress安全密钥? (Why use WordPress Security Keys?)

These security keys makes it harder to crack your password. A non-encrypted password like “username” or “wordpress” can be easily broken, but a random, unpredictable, encrypted password such as “88a7da62429ba6ad3cb3c76a09641fc” takes years to come up with the right combination. You should use WordPress Security keys to increase security of your WordPress powered blogs or websites.

这些安全密钥使破解密码变得更加困难。 诸如“用户名”或“ wordpress”之类的非加密密码很容易被破解,但是诸如“ 88a7da62429ba6ad3cb3c76a09641fc”之类的随机,不可预测的加密密码则需要花费数年的时间才能得出正确的组合。 您应该使用WordPress安全密钥来提高WordPress驱动的博客或网站的安全性。

如何在我的网站上使用WordPress安全密钥? (How to use WordPress Security Keys on my site?)

Self-hosted WordPress blogs does not have the Security Keys defined. You would need to add these yourself. It is a very simple and easy process, that you should be able to do as long as you know how to use FTP.

自托管的WordPress博客未定义安全密钥。 您需要自己添加这些。 这是一个非常简单的过程,只要您知道如何使用FTP,就应该能够执行。

First, you would need to get your own unique Secret Key. WordPress has a random generator that can give you these secret keys. We recommend that you use that rather than inventing your own.

首先,您需要获取自己的唯一密钥 。 WordPress有一个随机生成器,可以为您提供这些秘密密钥。 我们建议您使用它而不是自己发明。

Second step is to modify your wp-config.php (file). You will find this file located in your WordPress root folder (the same folder where your wp-content and other folders are stored). In your wp-config.php file on line 45, you should see something like this:

第二步是修改wp-config.php (文件)。 您会在WordPress根文件夹(与wp-content和其他文件夹存储在同一文件夹)中找到此文件。 在第45行的wp-config.php文件中,您应该看到类似以下内容:

WordPress Security Keys - wp-config file

Simply take your security key that we grabbed in step 1 and paste them accordingly in the following lines.

只需获取我们在步骤1中抓取的安全密钥,然后将其相应地粘贴到以下几行中即可。

Save your wp-config.php file, and you are done. If you were logged into your WordPress admin panel, then you will be asked to log back in again.

保存您的wp-config.php文件,您就完成了。 如果您已登录WordPress管理面板,则将要求您重新登录。

其他常见问题(FAQ) (Other Frequently Asked Questions (FAQs))

Do I have to remember my Security Keys?

我需要记住我的安全密钥吗?

No, you do not have to remember the security key. You have to paste it once in the wp-config.php file and that is it.

不,您不必记住安全密钥。 您只需将其粘贴到wp-config.php文件中即可。

翻译自: https://www.wpbeginner.com/beginners-guide/what-why-and-hows-of-wordpress-security-keys/

wordpress安全

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值