Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A confused deputy
is a computer program that is innocently fooled by some other party into
misusing its authority. It is a specific type of privilege escalation.
In information security, the confused deputy problem is often cited as
an example of why capability-based security is important. In the
original example of a confused deputy, there is a program that provides
compilation services to other programs. Normally, the client program
specifies the name of the input and output files, and the server is
given the same access to those files that the client has.