METHOD AND DEVICE FOR PREVENTING SERVER FROM BEING ATTACKED
First Claim
1. A computer-implemented method, comprising:
- receiving a page request from a browser;
allocating a page script corresponding to the page request from a plurality of page scripts corresponding to the page request;
transmitting the page script to the browser for generation of a script execution parameter by execution of the page script by the browser;
receiving a page verification request from the browser, wherein the page verification request includes the script execution parameter; and
determining whether a page verification request is expired, wherein;
if expired, generating error prompt information indicating a page expiration;
orif not expired;
determining whether the script execution parameter is valid, wherein;
if valid, indicating that the script execution parameter is valid;
orif not valid, rejecting the page request.
3 Assignments
0 Petitions
Accused Products
Abstract
A page request is received from a browser. A page script corresponding to the page request is allocated from a plurality of page scripts corresponding to the page request. The page script is transmitted to the browser for generation of a script execution parameter by execution of the page script by the browser. A page verification request is received from the browser, where the page verification request includes the script execution parameter. Whether a page verification request is expired is determined, where if the page verification request is expired, generating error prompt information indicating a page expiration. If the page verification request is not expired, whether the script execution parameter is valid, is determined. If the script execution parameter is valid, the validity is indicated, otherwise the page request is rejected.
4 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving a page request from a browser; allocating a page script corresponding to the page request from a plurality of page scripts corresponding to the page request; transmitting the page script to the browser for generation of a script execution parameter by execution of the page script by the browser; receiving a page verification request from the browser, wherein the page verification request includes the script execution parameter; and determining whether a page verification request is expired, wherein; if expired, generating error prompt information indicating a page expiration;
orif not expired; determining whether the script execution parameter is valid, wherein; if valid, indicating that the script execution parameter is valid;
orif not valid, rejecting the page request. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
-
receiving a page request from a browser; allocating a page script corresponding to the page request from a plurality of page scripts corresponding to the page request; transmitting the page script to the browser for generation of a script execution parameter by execution of the page script by the browser; receiving a page verification request from the browser, wherein the page verification request includes the script execution parameter; and determining whether a page verification request is expired, wherein; if expired, generating error prompt information indicating a page expiration;
orif not expired; determining whether the script execution parameter is valid, wherein; if valid, indicating that the script execution parameter is valid;
orif not valid, rejecting the page request. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented system, comprising:
-
one or more computers; and one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising; receiving a page request from a browser; allocating a page script corresponding to the page request from a plurality of page scripts corresponding to the page request; transmitting the page script to the browser for generation of a script execution parameter by execution of the page script by the browser; receiving a page verification request from the browser, wherein the page verification request includes the script execution parameter; and determining whether a page verification request is expired, wherein; if expired, generating error prompt information indicating a page expiration;
orif not expired; determining whether the script execution parameter is valid, wherein;
if valid, indicating that the script execution parameter is valid;
or
if not valid, rejecting the page request. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification