DEV Community

Discussion on: What Are Some of the Worst Security Practices You’ve Ever Seen in Software Development?

Collapse
 
san5431 profile image
Gary Lee • Edited

Once worked on a CMS project. Some content are sensitive so there was a requirement to perform IP checking to make sure users can only access those sensitive content inside the office.
A senior guy implemented this requirement in this way: When the user's IP is not inside the office, add a display: none css style to the content.

Collapse
 
richard809 profile image
Richard Holguín

This is scary and funny.