Website background protection method
A background and website technology, applied in the field of website background protection, can solve cumbersome problems
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2020-07-07
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to the technical field of information security, in particular to a method for background protection of a website. Background technique
[0002] With the popularity of information technology and the Internet, more and more enterprises and institutions have begun to use the form of publicity websites to carry out corporate publicity. With the rise of e-commerce transaction models, more and more B2C, C2C and other forms of The website has become popular, and the returns are quite objective. But at the same time, more and more illegal personnel see their interests and begin to carry out various attacks, sneak in, plant Trojan horses, etc. to steal website programs and stored information on the website. Data information has caused more or less impacts on the users of various websites, such as the homepage being hacked, employees changing jobs and taking away development programs, database information, etc. At present, the background pr...
Examples
Embodiment 1
[0039] A method for background protection of a website, such as figure 1 and figure 2 shown, including the following steps:
[0040] S1: data storage step;
[0041] S2: Set up a mobile phone verification web page in the background of the website;
[0042] S3: After passing the verification, the back-end program saves the encrypted string of the mobile phone number, time stamp and Token to cookies, and the Token is obtained by combining the mobile phone number, time stamp, key, etc. into a string and then encrypting it with MD5;
[0043] S4: By default, the nginxWEB service plug-in program prohibits anyone from accessing any file in the background. The plug-in program obtains COOKIES to verify the timestamp and TOKEN, and only those who pass the verification can access the background program or file.
[0044] The mobile phone verification webpage is set in the background of the website in S2 for the user to obtain the verification code through the mobile phone number, and t...
Embodiment 2
[0060] A method for background protection of a website, such as figure 1 and figure 2 shown, including the following steps:
[0061] S1: data storage step;
[0062] S2: Set up a mobile phone verification web page in the background of the website;
[0063] S3: After passing the verification, the back-end program saves the encrypted string of the mobile phone number, time stamp and Token to cookies, and the Token is obtained by combining the mobile phone number, time stamp, key, etc. into a string and then encrypting it with MD5;
[0064] S4: By default, the nginxWEB service plug-in program prohibits anyone from accessing any file in the background. The plug-in program obtains COOKIES to verify the timestamp and TOKEN, and only those who pass the verification can access the background program or file.
[0065] The data storage step in S1 refers to adopting a mandatory storage policy according to various storage information set by the security management center and the securi...