当前位置:网站首页>Web security summary
Web security summary
2022-07-03 11:36:00 【Jiangnan has no old friends】
Web Safety final summary
SQL Inject
principle :
utilize Web Security loopholes in the processing of background database query statements , The attacker submits a carefully constructed database query code , Based on the returned results , Get the data he wants to know
Affected systems : A system that does not check and filter input parameters
common SQL Injection process :
1. Modify parameter values and other data , The modified data is injected into SQL In the sentence
2. The database engine executes the modified SQL command , Return the result
3. Construct statements based on the returned sensitive information for further injection

example :


Cross-site scripting attacks (XSS)
principle :
Web The server did not validate the user input , And easily return to the client
The attacker went to Web Malicious insert in the page html Code , When a user views the web page , The malicious code embedded in it is executed
harm :
You can steal user accounts , Modify user settings , Stealing / Pollution cookie, Make false advertisement , Check the host information

Attack steps :
1. Looking for loopholes
2. Inject malicious code
3. Trick users into accessing


Cross-site request forgery (CSRF)
principle :
The target site A, Malicious websites B

The file contains a vulnerability

When using this 4 When a function contains a new file , This document will serve as php Code execution ,php The kernel doesn't care about the type of file that should be included
Verification code technology
It is used to distinguish between man and machine , It's defense http A means of attack

summary
Threats to clients and servers :
defense Web attack :
The server :
1. simplicity , It's best to remove unnecessary services
2. Use super users with caution
3. Local and remote access control
4. Audit , Look for suspicious data in the audit records
5. Backup policy , It is convenient to quickly restore services to reduce losses
client :
1. Set the security of the browser , Use browsers with fewer vulnerabilities , Upgrade the browser frequently
2. Often patch the operating system 、 upgrade
3. Try not to open some untrusted websites
The same-origin policy :

边栏推荐
- Project management essence reading notes (6)
- MATLAB提取不规则txt文件中的数值数据(简单且实用)
- phpcms 提示信息页面跳转showmessage
- 2022 东北四省赛 VP记录/补题
- Dynamic programming (interval DP)
- R语言ggplot2可视化:gganimate包创建动态折线图动画(gif)、使用transition_reveal函数在动画中沿给定维度逐步显示数据、在折线移动方向添加数据点
- Mmc5603nj geomagnetic sensor (Compass example)
- Cuiyusong, CTO of youzan: the core goal of Jarvis is to make products smarter and more reliable
- [VTK] vtkWindowedSincPolyDataFilter 源码注释解读
- After a month, I finally got Kingdee offer! Share tetrahedral Sutra + review materials
猜你喜欢

After using the thread pool for so long, do you really know how to reasonably configure the number of threads?

Cadence background color setting

Excel表格转到Word中,表格不超边缘纸张范围

Résumé des questions d'entrevue (2) Modèle io, ensemble, principe NiO, pénétration du cache, avalanche de rupture

Kibana~Kibana的安装和配置

uniapp scroll view 解决高度自适应、弹框滚动穿透等问题。

The excel table is transferred to word, and the table does not exceed the edge paper range

Spl06-007 air pressure sensor (example of barometer)

AOSP ~ NTP ( 网络时间协议 )

面試題總結(2) IO模型,集合,NIO 原理,緩存穿透,擊穿雪崩
随机推荐
DS90UB949
R语言ggplot2可视化:gganimate包创建动态折线图动画(gif)、使用transition_reveal函数在动画中沿给定维度逐步显示数据、在折线移动方向添加数据点
Google Earth engine (GEE) -- when we use the front and back images to make up for the interpolation effect, what if there is no effect?
Based on MCU, how to realize OTA differential upgrade with zero code and no development?
PHP server interacts with redis with a large number of close_ Wait analysis
R language ggplot2 visualization: gganimate package creates dynamic line graph animation (GIF) and uses transition_ The reveal function displays data step by step along a given dimension in the animat
Understand go language context in one article
VPP three-layer network interconnection configuration
Cadence background color setting
Solve undefined reference to`__ aeabi_ Uidivmod 'and undefined reference to`__ aeabi_ Uidiv 'error
Excel表格转到Word中,表格不超边缘纸张范围
Program process management tool -go Supervisor
asyncio 警告 DeprecationWarning: There is no current event loop
鸿蒙第四次培训
[OBS] encapsulate the basic process of OBS acquisition
Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation
动态规划(区间dp)
R语言使用aggregate函数计算dataframe数据分组聚合的均值(sum)、不设置na.rm计算的结果、如果分组中包含缺失值NA则计算结果也为NA
AI模型看看视频,就学会了玩《我的世界》:砍树、造箱子、制作石镐样样不差...
Project management essence reading notes (6)