当前位置:网站首页>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 :

边栏推荐
- Programmers' entrepreneurial trap: taking private jobs
- Stm32hal library upgrades firmware based on flash analog U disk (detailed explanation)
- How to become a senior digital IC Design Engineer (1-4) Verilog coding syntax: expression
- Kibana~Kibana的安装和配置
- Balance between picture performance of unity mobile game performance optimization spectrum and GPU pressure
- 如何成为一名高级数字 IC 设计工程师(1-5)Verilog 编码语法篇:操作数
- 银泰百货点燃城市“夜经济”
- CSRF
- Technical experts from large factories: how can engineers improve their communication skills?
- . \vmware-vdiskmanager. exe -k “c:\\xxxxx.vmdk”
猜你喜欢

导师对帮助研究生顺利完成学业提出了20条劝告:第一,不要有度假休息的打算.....

C语言 AES加解密

Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation

用了这么久线程池,你真的知道如何合理配置线程数吗?

The world's most popular font editor FontCreator tool

Balance between picture performance of unity mobile game performance optimization spectrum and GPU pressure

Cuiyusong, CTO of youzan: the core goal of Jarvis is to make products smarter and more reliable

软考中级软件设计师该怎么备考

DS90UB949

uniapp scroll view 解决高度自适应、弹框滚动穿透等问题。
随机推荐
How to become a senior digital IC Design Engineer (1-3) Verilog coding syntax: Verilog behavior level, register transfer level, gate level (abstract level)
Multi dimensional monitoring: the data base of intelligent monitoring
R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
Viewing binary bin files with notepad++ editor
活动预告 | 直播行业“内卷”,以产品力拉动新的数据增长点
Oracle 11g single machine cold standby database
高精度室内定位技术,在智慧工厂安全管理的应用
Double linked list of linear list
Incremental database backup - DB incr DB full
ORACLE进阶(一) 通过EXPDP IMPDP命令实现导dmp
Function details of CorelDRAW graphics suite 2022
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?
Web安全总结
phpcms 提示信息頁面跳轉showmessage
uniapp实现点击加载更多
[OBS] encapsulate the basic process of OBS acquisition
How to: configure ClickOnce trust prompt behavior
phpcms 提示信息页面跳转showmessage
Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation
C language utf8toutf16 (UTF-8 characters are converted to hexadecimal encoding)