|Posted: Wed, 2003-11-26 21:23|
I searched over the forum, and was unable to find what I was looking for. I see a few tutorials on swapping out gallery's auth system with another, but what I would like to do is to tap into it. I haven't studied the gallery code and whatever functions do this, but if I have to I will.
What I'm looking to do is set up a single gallery which is going to be used by one person. I would like to use the login/session/cookie from gallery to allow them to another part of the site that simply lets them edit a few text boxes and such. Is there just a simple funciton that may be called to ensure the user is authenticated, before allowing them to do 'foo' (ie, submit form X)?
It sounds imple enough, but I want to make sure I have the auth correct so it's not easily backdoored.