|
|
|
|
|
by paulbaumgart
5711 days ago
|
|
Would this work as a cheaper alternative to SSL for preventing session hijacking? 1. During the HTTPS part of the communication,
the server sends a long list of random strings.
2. The client stores all these strings in localStorage.
3. On every request, the client sends one of the strings
from the list, the server validates that it is in fact
a valid string for that session, and both remove that
string from their lists.
4. When the list runs out, you have to go back to SSL to
exchange a new list of strings.
Is there a flaw I'm overlooking (beyond the reliance on localStorage) that keeps people from using this?If not, is there a technical term for this technique so I can Google it? |
|