当前位置:网站首页>Web security - CSRF (token)
Web security - CSRF (token)
2022-07-03 04:31:00 【the zl】
CSRF And Token
Token: token , and Session,Cookie equally , It's all identity ,Token It usually exists in URL and Cookie in
Token effect :
1, Prevent forms from being submitted repeatedly
The server receives the Token after , If and Session Same value in , At this time, the client session Medium Token Will update
2, prevent CSRF( Cross station request attack )
give an example :
Tectonic CSRF, because Token Why , So the attack failed
Token Production process :
When the client requests the server page , The server will generate a random number Token Store in Session in , It will also session Send to client ( Generally by construction hidden), The next time a client submits a request ,Token It will be submitted to the server along with the form .
边栏推荐
- [set theory] binary relationship (binary relationship notation | binary relationship from a to B | number of binary relationships | example of binary relationship)
- Kingbasees plug-in KDB of Jincang database_ exists_ expand
- How do you use lodash linking function- How do you chain functions using lodash?
- Ffmpeg mix
- Square root of X
- Interface in TS
- Competitive product analysis and writing
- 商城系统搭建完成后需要设置哪些功能
- [set theory] set operation (Union | intersection | disjoint | relative complement | symmetric difference | absolute complement | generalized union | generalized intersection | set operation priority)
- 智能合约安全审计公司选型分析和审计报告资源下载---国内篇
猜你喜欢
金仓KFS数据双向同步场景部署
Introduction of pointer variables in function parameters
Golang -- realize file transfer
Smart contract security audit company selection analysis and audit report resources download - domestic article
[dynamic programming] subsequence problem
JVM原理简介
Bugku CTF daily question baby_ flag. txt
跨境电商多商户系统怎么选
2022 Shandong Province safety officer C certificate examination content and Shandong Province safety officer C certificate examination questions and analysis
Daily question - ugly number
随机推荐
JS multidimensional array to one-dimensional array
Two drawing interfaces - 1 Matlab style interface
What's wrong with SD card data damage? How to recover SD card data damage
[dynamic programming] subsequence problem
Some information about the developer environment in Chengdu
使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错
Feature_selection
Which code editor is easy to use? Code editing software recommendation
Internationalization and localization, dark mode and dark mode in compose
Asp access teaching management system design finished product
2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination
Ffmpeg tanscoding transcoding
Auman Galaxy new year of the tiger appreciation meeting was held in Beijing - won the double certification of "intelligent safety" and "efficient performance" of China Automotive Research Institute
Use the benchmarksql tool to perform a data prompt on kingbases. The jdbc driver cannot be found
[set theory] Cartesian product (concept of Cartesian product | examples of Cartesian product | properties of Cartesian product | non commutativity | non associativity | distribution law | ordered pair
Kingbasees plug-in KDB of Jincang database_ date_ function
sd卡数据损坏怎么回事,sd卡数据损坏怎么恢复
Joint search set: the number of points in connected blocks (the number of points in a set)
2022 tea master (intermediate) examination questions and tea master (intermediate) examination skills
Xrandr modify resolution and refresh rate