473,388 Members | 1,340 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

what's the best authentication library?

Bob
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
Jul 17 '05 #1
4 7627
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. Http://www.firstdbasource.com/donations.html
:)
Jul 17 '05 #2
ro**********@consultant.com (Bob) wrote in message news:<de**************************@posting.google. com>...
<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
Jul 17 '05 #3
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:

http://sourceforge.net/projects/phpsecurityadm

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 - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.
Jul 17 '05 #4
"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.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-authenti...ict129396.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=433126
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Tom | last post by:
hi, I'm trying to write a multi client chat app using remoting. however atm, I'm stuck when a userA tries to send userB a msg... say there're userA, userB and userC. on the server side how do I...
2
by: Lior Amar | last post by:
Hey All, Trying to understand why I can not get SQL server to trust my IIS server. I have two machines set up, 1 App and 1 DB, and I'm trying to validate the applications access to the DB server...
3
by: Ashish Kanoongo | last post by:
Let me know the best authentication method and why ? I am asking in ASP.NET using C#. 1. Windows Builtin authentication 2. Passport base authentication 3. Form Based Authentication 4. Default...
2
by: Brian Shannon | last post by:
I have an intranet site I created when I first began .NET and it is very basic. Now that I have developed my skills I am looking to revamp the old with something new. I really like the idea of...
3
by: Stephanie Stowe | last post by:
I am new to ASP.NET having come from ASP classic background. I need to understand authentication. I have a server running IIS which contains an ASP.NET app. On IIS the app has both anonymous and...
1
by: Mike Moore | last post by:
Does anyone have suggestions on the best way to check if a user is logged into asp.net web application? We are not using forms authentication. We are authenticating our users against active...
15
by: Edwin Knoppert | last post by:
I have searched but info is limitted. In my test app i used a non persistant cookie for forms authentication. slidingExpiration is set to true On run and close and rerun the login remains ok....
2
by: news.demon.nl | last post by:
Hi, I hope someone can give me some advice on which form of security i can use best in this scenario: I have a free application that everbody on the internet can download. It calls a...
3
by: mario.colorado | last post by:
Hi! Does anyone know why it is that when I use: Request.LogonUserIdentity.User.ToString() I get something like: S-1-5-21-2268419..........
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.