当前位置:网站首页>Why PHP is not safe
Why PHP is not safe
2022-06-25 04:39:00 【zepcjsj0801】
Recently I met two customers , Said a question that made me a little suspicious of life :php unsafe
Be me php Decade , This problem started with me php I heard that , But I never took it seriously .
My college major is .net, My job after graduation is to develop , however .net Development and debugging of 、 modify bug The process is very urgent , It may also be caused by insufficient level at that time .
Once in a while, I came into contact with the project php, To be exact, contact with thinkphp, Projects in other languages are php It seems too bloated and cumbersome in front of me , Then on php It just got out of hand .
Until recently, two large customers asked this question , After I tried my best to explain the reason, I had to recall whether what I explained seemed more obvious .
Back to the point :
1. For the non professional development customer group ,php The reason for insecurity is that their company's official website is suspended , Notice that this is " Official website ", Why do you say that? , The official website quotation of a custom design is generally in 5k To ten thousand , It does not rule out that big factories have high requirements . But if the quotation for a template is about 1000, it will be done , Even lower , A company is seldom willing to spend tens of thousands to do one java perhaps .net Its official website . The most common is to find a set cms Change directly , Common are phpcms, The empire cms, Dream weaving, etc , These sets cms Are no longer updated and maintained , Online downloads are all older versions , Loopholes have long been all over the network , Niche cms Let alone . therefore , The more you use, the more questions you ask .
2. Programmers like php The reason is that it is simple or convenient , Take a chestnut , Use one if($xx) Can judge xx Use not used as a condition to perform the next step ,java or .net First, ensure the data format , Then we can judge whether it is empty or true. therefore , The simpler things are, the easier they are to be broken
3. Development issues , What I have more contact with is thinkphp and yii frame , The system is rarely said to be hacked , It doesn't mean that you need a frame to prevent being hacked , It is only the composition of the framework that avoids the emergence of loopholes , Just take it url In terms of parameters , Use within the framework is handled , Use directly without treatment , Just like streaking .
– Too busy , Write again when you have time
边栏推荐
- 什么是持久化?redis 持久化中的RDB和AOF是什么?
- PHP extracts and analyzes table contents, and collects bidding information
- Wechat likes to pay attention to the solution of invalid automatic reply
- LabVIEW development gas regulator
- CTF_ Web: Advanced questions of attack and defense world expert zone WP (9-14)
- CTF_ Web: deserialization learning notes (I) classes and objects in PHP
- 领导:谁再用 Redis 过期监听实现关闭订单,立马滚蛋!
- GBASE 8s的多线程结构
- ROS2/DDS/QoS/主题的记录
- 515. 在每个树行中找最大值 / 剑指 Offer II 095. 最长公共子序列
猜你喜欢
随机推荐
2021.6.14 notes
CTF_ Web: file contains pseudo protocol with PHP
EasyRecovery15非常好用的电脑数据恢复软件
PHP extracts and analyzes table contents, and collects bidding information
Record small knowledge points
English Grammar - pronunciation rules
Simple text analysis of malicious samples - Introduction
GBase 8s 锁的分类
GBASE 8s的级联删除功能
GBASE 8s 索引R树
Codeforces Round #802 (Div. 2) C D
Package for gbase 8s
What is persistence? What are RDB and AOF in redis persistence?
Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)
2021.4.15 note the difference between let, const and VaR in ES6
Data view for gbase 8s
Gbase 8s stored procedure syntax structure
LabVIEW开发气体调节器
Mongodb cluster
计算学生成绩等级(虚函数和多态)









