|
|
||
|
|
||
|
|
||
Any authentication method can be combined with protecting the system using HTTPS. In most cases, accessing a system using HTTPS can be
| Warning |
The only purpose of HTTPS is to protect against traffic interception. |
HTTPS is necessary only when traffic interception is strongly undesirable or likely. The use of this protocol is
There are a few other cases, in which it is necessary to use authentication through HTTPS with the users' private keys and asymmetric encryption algorithms. This authentication system is the most effective of the systems described earlier. However, it is the most difficult to implement.
As a more advanced variant of authentication system, private keys can be stored on smart cards and other specialized devices designed for this purpose. A correctly implemented authentication system based on public or private keys would provide maximum protection against traffic interception and unauthorized reading of files on the server. In some cases, even unlimited access to the client won't allow an attacker to obtain the information necessary for successful authentication and authorization.
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
Sometimes, even a well-designed protection can be improved and the likeliness of its
When the users' IP addresses are known beforehand, you can limit access by an IP address in addition to using other methods. A list of valid IP addresses can be either static (built into the system during its creation) or dynamic (updated by an authorized administrator).
A drawback of this system is obvious: It cannot be applied when users' IP addresses can be random and don't fall within a certain range.
As a variation of this system, when IP addresses of the users aren't known beforehand, the following approach can be used: During primary authentication, when a user enters his or her login and password and the authentication is successful, the user gets a session ID with a limited lifetime. In addition, the
This approach will securely protect the system against session ID interception; however, you should be aware of the following:
This system won't protect against login or password interception.
This system will work only if the user's IP address doesn't change during the session. That is, the duration of the session won't be long for dial-up users, and it will be
In addition, during primary authentication you can store the browser
However, you should be aware that this is a policy of confusing. An attacker can easily edit appropriate headers in an HTTP request so that they are identical to the headers sent by the browser of a valid user.
|
|
||
|
|
||
|
|
||