authentication for external site
Posted by tarpas
|
authentication for external site December 14, 2009 12:10PM |
Registered: 16 years ago Posts: 1 |
Hi,
I would like to integrate an external (non PHP) site with the Phorum user accounts. The registration and database stays completely on the Phorum side. I would just need a little "web service" which checks username/ password and returns OK / WRONG_LOGIN. I browsed the forum and checked out related solutions. Is the quick_auth script ( http://www.phorum.org/phorum5/read.php?28,17178 ) the best shortcut to create such a web service running on the Phorum side?
What's the hash function used to store the passwords in the Phorum user database (if any)?
I'll be glad to read any other thoughts or considerations.
Thanks,
Tibor
I would like to integrate an external (non PHP) site with the Phorum user accounts. The registration and database stays completely on the Phorum side. I would just need a little "web service" which checks username/ password and returns OK / WRONG_LOGIN. I browsed the forum and checked out related solutions. Is the quick_auth script ( http://www.phorum.org/phorum5/read.php?28,17178 ) the best shortcut to create such a web service running on the Phorum side?
What's the hash function used to store the passwords in the Phorum user database (if any)?
I'll be glad to read any other thoughts or considerations.
Thanks,
Tibor
|
December 14, 2009 03:44PM |
Admin Registered: 21 years ago Posts: 8,532 |
The hash function is simply md5().
Quick auth is about the lightest solution that one could write for retrieving the data for the logged in user, so go for that one.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Quick auth is about the lightest solution that one could write for retrieving the data for the logged in user, so go for that one.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Sorry, only registered users may post in this forum.