concept someone in category security

This is an excerpt from Manning's book Secure by Design.
Many developers feel like it’s hard to understand all the details around intricate software vulnerabilities, classifying themselves as people who don’t do security—security is something that’s best left to someone else. But because most developers understand and appreciate software design, if you can use design to achieve security, then suddenly everyone can create secure software.
At the same time, other members of the team investigate the online store application from a technical perspective. They search for ways to circumvent the login. They see whether they can kidnap an open customer session. They try to poison the cookies. Same thing here—no success. These things would also be OK if the web server had been properly configured and, in this example, someone had obviously made the effort to read the documentation to implement the configuration.
class Book { #1 BookTitle title; ISBN isbn; Money price; ... } class Quantity { #2 ... Quantity(int quantityOfBooks) { isTrue(0 < quantityOfBooks, "Quantity must be positive"); isTrue(quantityOfBooks <= 240, "Quantity must fit in through-store flow, which is limited to 240"); ... } } class Order { void addOrderLine(Book book, Quantity quantity) { #3 ... } Quantity totalQuantity() { ... } } #1 Book has a class of its own (an explicit representation). #2 The Quantity class contains restrictions on how small or large a quantity might be (business insight captured as code). #3 There’s no risk of someone sending in an illegal quantity; the compiler won’t allow it.