Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

what's the best authentication library?

 
   Database Forums (Home) -> PHP RSS
Next:  JPEG file info & custom tags?  
Author Message
Bob126

External


Since: Jul 14, 2004
Posts: 1



(Msg. 1) Posted: Wed Jul 14, 2004 9:11 am
Post subject: what's the best authentication library?
Archived from groups: comp>lang>php (more info?)

Hello!!!
I am programming a community website, with the usual stuff... some
people must subscribe and become members, so they can log in and visit
some pages and discuss between them, it's a community website.

I was new to PHP 2 months ago so I tried many libraries,
For now, I am using
- Smarty for templates
- Pear:DB for the database
- phplib for authentication

The problem is that phplib is too limited for what I would like...

Especially I need to have an auto-login feature. I want to have the
possibility to temporarly block access to some user without deleting
them from the database.
Also when the user logs in, I want to have his datas loaded from the
base and accessible in some php array until he leaves.

I tried Pear:Auth, I also tried phpauth (http://www.phpauth.com/)
which is an unofficial imrpovement of phplib, but it needs some
configuration of php I can not change. I also had a look at gacl
(http://phpgacl.sourceforge.net/) but it looks too complicated for
what I want!

My question is, what authentication library are you using??
If I could get something that works as fine as phpbb, that would be
great, but I can not really come and steal their code!!!!!

Thanks for any opinion!!!
Bob

 >> Stay informed about: what's the best authentication library? 
Back to top
Login to vote
Michael Austin

External


Since: May 31, 2004
Posts: 67



(Msg. 2) Posted: Wed Jul 14, 2004 2:17 pm
Post subject: Re: what's the best authentication library? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bob wrote:

 > Hello!!!
 > I am programming a community website, with the usual stuff... some
 > people must subscribe and become members, so they can log in and visit
 > some pages and discuss between them, it's a community website.
 >
 > I was new to PHP 2 months ago so I tried many libraries,
 > For now, I am using
 > - Smarty for templates
 > - Pear:DB for the database
 > - phplib for authentication
 >
 > The problem is that phplib is too limited for what I would like...
 >
 > Especially I need to have an auto-login feature. I want to have the
 > possibility to temporarly block access to some user without deleting
 > them from the database.
 > Also when the user logs in, I want to have his datas loaded from the
 > base and accessible in some php array until he leaves.

add a "status" field to the database (if you are able too..) and in your
authentication routine add (psuedo-code)
is username, password correct AND status = 1 //1 for good 0 for bad etc...

then all you need to do is change the status.

<snip>

--
Michael Austin.
Consultant - Available.
Donations welcomed. <a rel="nofollow" style='text-decoration: none;' href="Http://www.firstdbasource.com/donations.html" target="_blank">Http://www.firstdbasource.com/donations.html</a>
Smile

 >> Stay informed about: what's the best authentication library? 
Back to top
Login to vote
R. Rajesh Jeba Anb

External


Since: Jun 30, 2003
Posts: 72



(Msg. 3) Posted: Wed Jul 14, 2004 10:41 pm
Post subject: Re: what's the best authentication library? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

robertdeniro.RemoveThis@consultant.com (Bob) wrote in message ...
<snip>
 > My question is, what authentication library are you using??

Mine is based on the logic found at
<http://martin.f2o.org/php/login>. I did add some more stuffs like
number of online members/guests with custom session handlers.

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
 >> Stay informed about: what's the best authentication library? 
Back to top
Login to vote
Justin Koivisto

External


Since: Nov 25, 2003
Posts: 45



(Msg. 4) Posted: Thu Jul 15, 2004 10:16 am
Post subject: Re: what's the best authentication library? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bob wrote:
 > Hello!!!
 > I am programming a community website, with the usual stuff... some
 > people must subscribe and become members, so they can log in and visit
 > some pages and discuss between them, it's a community website.
 >
 > I was new to PHP 2 months ago so I tried many libraries,
 > For now, I am using
 > - Smarty for templates
 > - Pear:DB for the database
 > - phplib for authentication
 >
 > The problem is that phplib is too limited for what I would like...
 >
 > Especially I need to have an auto-login feature. I want to have the
 > possibility to temporarly block access to some user without deleting
 > them from the database.
 > Also when the user logs in, I want to have his datas loaded from the
 > base and accessible in some php array until he leaves.
 >
 > I tried Pear:Auth, I also tried phpauth (http://www.phpauth.com/)
 > which is an unofficial imrpovement of phplib, but it needs some
 > configuration of php I can not change. I also had a look at gacl
 > (http://phpgacl.sourceforge.net/) but it looks too complicated for
 > what I want!
 >
 > My question is, what authentication library are you using??
 > If I could get something that works as fine as phpbb, that would be
 > great, but I can not really come and steal their code!!!!!

I've been using the one I created for a couple years now:

<a rel="nofollow" style='text-decoration: none;' href="http://sourceforge.net/projects/phpsecurityadm" target="_blank">http://sourceforge.net/projects/phpsecurityadm</a>

I'm trying to find time to replace the metabase code in favor of
PEAR::MDB, but just haven't gotten around to it yet.

--
Justin Koivisto - spam.TakeThisOut@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.
 >> Stay informed about: what's the best authentication library? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 5) Posted: Thu Jul 15, 2004 5:39 pm
Post subject: Re: what's the best authentication library? [Login to view extended thread Info.]

Bob126 wrote:
Hello!!!
I am programming a community website, with the usual stuff... some
people must subscribe and become members, so they can log in and visit
some pages and discuss between them, it's a community website.

I was new to PHP 2 months ago so I tried many libraries,
For now, I am using
- Smarty for templates
- Pear:DB for the database
- phplib for authentication

The problem is that phplib is too limited for what I would like...

Especially I need to have an auto-login feature. I want to have the
possibility to temporarly block access to some user without deleting
them from the database.
Also when the user logs in, I want to have his datas loaded from the
base and accessible in some php array until he leaves.

I tried Pear:Auth, I also tried phpauth (http://www.phpauth.com/)
which is an unofficial imrpovement of phplib, but it needs some
configuration of php I can not change. I also had a look at gacl
(http://phpgacl.sourceforge.net/) but it looks too complicated for
what I want!

My question is, what authentication library are you using??
If I could get something that works as fine as phpbb, that would be
great, but I can not really come and steal their code!!!!!

Thanks for any opinion!!!
Bob


Just thinking out of the box, have you looked at content management systems CMS, like PHP-NUKE. I suggest not to recreate what has already been done, and to start with code that can then be customized.
 >> Stay informed about: what's the best authentication library? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
PHP and GD library - Hi, I have an aplication that writes 1 or 0 to mysql table. I would like to get that data and drow a line from that data. Basicially the data 0 or 1 says if host is up or down. What would be the easies to do so. I need simple grahp that would contain....

PDF generation library - Hello I'm seeking for a PDF generation library for PHP5. Can anybody point me to a good solution? What about: - fpdf - cpdfwriter - ezpdf Are these libraries stable and good to use? I need something not-too-rich, but stable and preferrably..

Database abstraction library - What are your recommendations for lightweight database abstraction library (Oracle/MySQL)? I prefer OOP. :) Tnx, Ivan.

Looking for RSA library for PHP - Hi, I'm looking for PHP library (not necessery free) that implements RSA encryption. I've found http://pear.php.net/package/Crypt_RSA but it seems that it is no longer supported (average age of open bug is 700 days !!). Can you suggest something? Michal...

resizing an image with the gd library - I'm trying to resize an image with the gd library and am having some difficulty. Here's my code: <?php $img = 'http://upload.wikimedia.org/wikipedia/commons/e/e3/Kheops- Pyramid.jpg'; list($width, $height) = getimagesize($img); $img =..
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]