1. A computer system for providing access to electronic information, the system comprising: a computer, a computer-readable storage medium, and program instructions stored on the computer-readable storage medium, which when executed cause the computer to perform a method comprising: receiving, by a first computer from a second computer over a network, in response to information entered into a user interface on the second computer, a first password string associated with a user; retrieving, by the first computer, from a database, a second password string associated with the user and a rule for configuring and generating a third password string from the second password string, wherein the rule specifies a dynamic element to insert in the second password string based on first contextual information associated with the user, and wherein a value of the specified dynamic element is determined based on second contextual information associated with the user; configuring and generating, by the first computer, the third password string from the second password string, based on the retrieved rule; determining, by the first computer, that the first password string matches the third password string; and granting, by the first computer, the second computer access to the electronic information.