technoguyrob
Joined 18 years ago
Karma
28
Submissions
302
Member since
Feb 24
Joined 18 years ago
It's not wrong either for the rest of us to be curious.
........................
I thought David was kidding. Jesus.
EDIT: To answer your question of "are they doing some kind of lookup for each AJAX request?" Well of course, since they already have to look up a user's ID, account information, etc. based on the cookie they send.
EDIT: Or how about just adding an in-line Javascript variable? Say, on all Gmail pages, you could embed this in the page:
<script>var SECURITY_KEY = "918028cd79a5ba47e83e6ba68d036ca3";</script>
And then when sending AJAX or form requests in the background, make sure to include that as a request parameter. That way, even if the user has the right authentication cookies, external websites won't be able to fool Gmail into thinking they are Gmail.Really, this doesn't seem like a very hard problem to solve...couple lines of code...
This only goes to show that eventually, all fields of knowledge will be nothing except mathematics!
http://www.reddit.com/r/programming/comments/7eoth/sounds_li...
technoguyrob @ [letter before h]mail (math\.uic\.edu)\/~(robertk) -> $2 @ $1