RoadArchie@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 年前Too much detail in this error message from EAlemmy.mlimagemessage-square39linkfedilinkarrow-up1634arrow-down16
arrow-up1628arrow-down1imageToo much detail in this error message from EAlemmy.mlRoadArchie@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 年前message-square39linkfedilink
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up3·2 年前Thin line between giving useful error messages and more attack surface.
minus-squareJohanno@feddit.delinkfedilinkarrow-up5·2 年前If your code gives attack surface by information about what went wrong maybe you should not even deploy anything. If your code needs to be secret to be secure your code is anything but secure.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up4·2 年前Not code but internet. A often seen error is letting Appache/Nginx display their name & version in 403/404 pages. First step in planning an attack.
Thin line between giving useful error messages and more attack surface.
If your code gives attack surface by information about what went wrong maybe you should not even deploy anything. If your code needs to be secret to be secure your code is anything but secure.
Not code but internet. A often seen error is letting Appache/Nginx display their name & version in 403/404 pages. First step in planning an attack.