Security Engineering - A Guide to Building Dependable Distributed Systems

https://www.cl.cam.ac.uk/archive/rja14/book.html