Method and device for preventing CSRF attack
Abstract
The disclosure provides method for preventing CSRF attacks, in which the method provides: intercepting request sent from a client browser to a server; generating a token; generating a response to the request; inserting the token into the response to the request; and sending the response to the request to the client browser with the token inserted into the response. With the method of the disclosure, it is assured that a token is inserted into all the requests made by a user through a client browser for accessing a resource. And it can be assured that the request is issued by the user himself by verifying whether the token in the request is valid, thereby preventing a CSRF attack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for preventing a Cross-Site Request Forgery (CSRF) attack, the method comprising: intercepting one or more requests sent from a client browser to an authentication module of a server to access a first protected resource at a first Universal Resource Locator (URL), wherein in response to receiving the one or more requests, the authentication module issues a prompt for authentication information associated with a user; generating a token; recording the token as a recorded token; generating a response to the one or more requests; inserting the recorded token into the first URL within the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- China Patent Application 201010580357.3; Office Action dated Dec. 24, 2013 (7 pg).
- Jayaraman, K. et al. Modeling User Interactions for (Fun and) Profit: Preventing Workflow-based Attacks in Web Applications, Proceeding, PLop '09 Proceedings of the 16th Conference on Pattern Languages of Programs, ACM, New York, NY USA (16 pg.).
- Jayaraman, K. et al., Memento: A Framework for Hardening Web Applications, in Center for Systems Assurance Technical Report. Syracuse University, Syracuse, NY. CSA-TR-2008-11-01. (12 pg.).
- Johns,.Martin, et al. "RequestRodeo: Client Side Protection Against Session Riding," University of Hamburg, Dept. of Informalities. OWASP AppSec 2006. (13 pg.).
- Korrapati, V., How to Use NetScaler Application Firewall Against CSRF Attacks, http://webcache.googleusercontent.com/search?q=cache:http//community.citrix.com/x/64JRC, Apr. 29, 2010. (3 pg.).