Getting MyBB to eat a Yummier Cookie?
Firefox Wins Offline
Member
***
Posts: 164
Joined: Mar 2008
Post: #1
Getting MyBB to eat a Yummier Cookie?
Not sure if this belongs in Coding = Questions and issues related to coding (HTML/CSS/Javascript/PHP or Fortran),
or Modifications?

PHP Code:
if (secure_cookie_value = "Firefox Wins")
 {action = 'Let him into MyBB now!!' ; }

// Yes, integration, SSO & security are advanced topics & that is OK. 


Please, point me in the right direction, and I can figure the rest out:
For simplicity: Assume account(s) are already created and secure login (setting a non-MyBB cookie) is done over SSL*
*Which might cause issues reading the secure cookie over plain http

How to:
Getting MyBB to eat a Yummier Cookie?
a) User already exists in the MyBB database.
b) "Secure cookie" is set and has built in protection against session hijacking.
c) I already know how to do an "SSO type" of auto-login using MyBB's functions, but then logout won't be based on "Secure cookie", it would be "a normal logout."
d) Where do I start to get MyBB to accept a replacement "Secure cookie" for login and logout?

I know sessions are stored in the db; What I'm looking to do is have "virtually everything else the same" Tongue, while MyBB accepts "Secure (outside) cookie" instead of the normal one.

Any tips on where to start?
Thank you, for helpful advice.

(This post was last modified: 07-06-2010 03:15 PM by Firefox Wins.)
07-06-2010 03:05 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Getting MyBB to eat a Yummier Cookie? - Firefox Wins - 07-06-2010 03:05 PM

 Standard Tools
Forum Jump: