In information security, the Confused Deputy Problem is a canonical example of why capability-based security is important. A brief description of the involved elements follows.
A classic example is the UNIX passwd command, used to change a user's password, which has access to the password file, although the user invoking it does not.
Continuing with the passwd example, the passwd command has an option to change another user's password, and indeed it has the authority to alter another user's password on its client's behalf. Only careful checking by passwd itself avoids this security hole.
In our example, this would amount to a user only being able to modify their own entry in the password file, as well as any program they might run such as passwd having the same restriction.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Confused deputy problem".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world