docs-website/themes/next/docs/LEANCLOUD-COUNTER-SECURITY.md

Fix LeanCloud Counter Plugin Security Vulnerability

Before you make the config, please upgrade your NexT version to v6.0.6 or greater.

Please note the difference between site config file and theme config file

Sign up to LeanCloud and create an app

1

2

3

Create Counter class and enable plugin in NexT

4

5

6

8

9

Deploy web engine to avoid your data being changed illegally

10

11

12

13

14

15

Set access control for your database

Change <username> and <password> to your own username and password (no need to be the same as leancloud account). They will be used in the hexo deploying.

16

17

18

19

Now your page should be similar to this img after finishing the step.

20

21

Now the bug is fixed.

See detailed version here: https://leaferx.online/2018/03/16/lc-security-en/



epiforecasts/crowdforecastr documentation built on June 23, 2021, 10:30 p.m.