1 May 2011 02:59
Using Ajax for single single sign on. How bad of an idea is this?
Adam Meyer <meyer7 <at> mindspring.com>
2011-05-01 00:59:26 GMT
2011-05-01 00:59:26 GMT
Im really not one for reasonable solutions if it means inconvenience to the user. Im looking for ways to integrate single sign on for phpBB and mediawiki. I have only found one solution, but im wondering how bad of an idea this is. When a user goes to to mediawiki it does an AJAX call to a phpbb file and checks if the user is logged in or not. If they are, mediawiki would then force a login for that user. If not, it would force a logout. I know that the AJAX response can be faked pretty easily by setting a stop point in fire bug or console, and changing the return value. So this would easily allow a user to change who they are logged in as. But what if I included a salted hash and checked the values against that? I think it would only be as strong as the algorithm. I just can not keep requiring the 2 sign on thing - It is so confusing on my site. -Adam
If that helps :
$grep -ir 'xmlns' *
config/Installer.php:<html xmlns="
Second in this specific case, it's for Google Analytics. Since they have
changed it to a faster and asynchronous javascript handling, there's no
extension with the appropriate code anymore, and they strongly advise to
place it here (last thing before /head).
I'll adjust the code position in the future with more test and feedback
when my site goes public, but right now I don't see the harm in
following their recommendation, and perhaps more important to have the
same result across the various part of my site (hence, having it placed
on the same spot).
RSS Feed