0

Wouldn't it be safer if we were able to see the PHP source code?

I mean that way all the vulnerabilities could be reported by the users quickly and even though it would increase the chances of a hacker's attack in the beginning, after fixing the vulnerabilities the server would be much safer or wouldn't it?

30th Mar 2018, 1:24 AM
Kevin Eldurson
Kevin Eldurson - avatar
4 Respostas
+ 4
It is like revealing all your battle plans and strategies for your enemy before said battle. Definitely not. This would make the hacking task a piece of delicious cake and even easier. vulnerabilities/bugs should be constantly searched for through constant testing and updates. bugs can be reported by users whithout them being knowledgeable of the source code.
30th Mar 2018, 1:43 AM
CHMD
CHMD - avatar
+ 2
it's like asking: "wouldn't our house be safer if we leave the door open?"
30th Mar 2018, 3:06 AM
seamiki
seamiki - avatar
+ 2
Even when you work with Frameworks, only you get to see the source code of your own application. everything that is displayed is still HTML. Imagine just the simple fact of having your credentials (login info)to your database access public to the world's eye, not only it will compromise the privacy of your data but it's also going to become the playground of everyone and anyone.
30th Mar 2018, 9:49 AM
CHMD
CHMD - avatar
0
KINGDX Then how come there are extremely secure open source softwares?
30th Mar 2018, 8:41 AM
Kevin Eldurson
Kevin Eldurson - avatar