Re:C++ Patterns: The Badge
by AstralStorm on Wednesday June 12, 2019 @07:28AM
(#20163470)
This is essentially a capability system enforced by the compiler, which means your code is not actually in control for any third party caller.
A glaring security hole. Any old hacker can forge or clone a data structure. This "badge" (AKA token) has to be explicitly unpredictably replay-proof generated and hard to forge, and also automatically verified.
A glaring security hole. Any old hacker can forge or clone a data structure. This "badge" (AKA token) has to be explicitly unpredictably replay-proof generated and hard to forge, and also automatically verified.