Jump to content

Secure error messages in software systems

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pnm (talk | contribs) at 20:53, 31 January 2012 (Rewrite lead sentence as not-how-to). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer security and usability of software systems, a secure error message in a software system is an error message designed to prevent security vulnerabilities.

The designer should give the user enough information to make an intelligent decision, but not so much information that the user is overwhelmed or confused. Extraneous information may be hid by default or placed in a separate location. Error message should not expose information that can be exploited by a cracker to obtain information that is otherwise difficult to obtain. Examples are systems which may show either "invalid user" or "invalid password" depending on which is incorrect, and the error page in the web server IIS 5.0 which provides a complete technical description of the error including a source code fragment.