Re: [PHP] Single Sign On

2007-06-04 Thread Steve Edberg

At 8:06 AM +0530 6/4/07, Sudheer Satyanarayana wrote:

Hi,

We have three web sites
a) example1.com
b) example2.com
c) my.example2.com


Our sites include exclusive pages for registered users. All user 
account management tasks are handled by my.example2.com including 
registration, modification, cancellation, etc.  We would like to 
create a single sign on system for all the three web sites. The user 
would sign on with a single username and password to all three web 
sites. For example, when the user visits a membership page in 
example1.com he would be prompted to sign on to his account.  His 
credentials are stored in my.example2.com.  my.example2.com is now 
fully functional. After the successful sign on, the user would be 
redirected to original membership page in example1.com.


How would I pass the information from my.example2.com to 
example1.com about the authentication status of user?


We use MySQL database to store and retrieve user account details in 
my.example2.com. The web host does not allow remote database 
connections.



If you have some control over software installation/web server 
configuration, you may find Pubcookie -


http://www.pubcookie.org/

- useful.

steve

--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking up his fork +

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Single Sign On

2007-06-03 Thread Sudheer Satyanarayana

Hi,

We have three web sites
a) example1.com
b) example2.com
c) my.example2.com


Our sites include exclusive pages for registered users. All user account 
management tasks are handled by my.example2.com including registration, 
modification, cancellation, etc.  We would like to create a single sign 
on system for all the three web sites. The user would sign on with a 
single username and password to all three web sites. For example, when 
the user visits a membership page in example1.com he would be prompted 
to sign on to his account.  His credentials are stored in 
my.example2.com.  my.example2.com is now fully functional. After the 
successful sign on, the user would be redirected to original membership 
page in example1.com.


How would I pass the information from my.example2.com to example1.com 
about the authentication status of user?


We use MySQL database to store and retrieve user account details in 
my.example2.com. The web host does not allow remote database connections.


Thanks,
Sudheer

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Single Sign On

2007-06-03 Thread Robert Cummings
On Mon, 2007-06-04 at 08:06 +0530, Sudheer Satyanarayana wrote:
 Hi,
 
 We have three web sites
 a) example1.com
 b) example2.com
 c) my.example2.com
 
 
 Our sites include exclusive pages for registered users. All user account 
 management tasks are handled by my.example2.com including registration, 
 modification, cancellation, etc.  We would like to create a single sign 
 on system for all the three web sites. The user would sign on with a 
 single username and password to all three web sites. For example, when 
 the user visits a membership page in example1.com he would be prompted 
 to sign on to his account.  His credentials are stored in 
 my.example2.com.  my.example2.com is now fully functional. After the 
 successful sign on, the user would be redirected to original membership 
 page in example1.com.
 
 How would I pass the information from my.example2.com to example1.com 
 about the authentication status of user?
 
 We use MySQL database to store and retrieve user account details in 
 my.example2.com. The web host does not allow remote database connections.

I'd pass a session identifier to example1.com, then when example1.com
detects a session synch, it would use a webservice to call home to
my.example2.com and request verification of the session. You will
probably want to have some extra checks in place too, like a timestamp
that expires, maybe user browser information, etc to help validate. 

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] single sign on Solution php and .net

2007-04-28 Thread Murtaza Chang

Hi, me and my fellow developer have built two applications that need to
authenticate users using LDAP, we have successfully accomplished it, but the
problem is his application is in .net and mine is in php, my php app needs
to call secure pages of .net and vice versa, now when the user is logged
onto let say my php app he is logged and his session is created and when I
redirect him to .net app he again sees a login form because the session isnt
created in .net app.
I need some single sign on solution I found lots of APIs and libraries for
java but have no idea what can I use for php and .net, kindly experience
programmers guide me.
Thankyou

--
Murtaza Chang
http://flickr.com/photos/blackstallion/