RoadArchie@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 11 months agoToo much detail in this error message from EAlemmy.mlimagemessage-square37fedilinkarrow-up1631arrow-down16
arrow-up1625arrow-down1imageToo much detail in this error message from EAlemmy.mlRoadArchie@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square37fedilink
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up3·11 months agoThin line between giving useful error messages and more attack surface.
minus-squareJohanno@feddit.delinkfedilinkarrow-up5·11 months agoIf 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·11 months agoNot 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.