Tim Van Wassenhove" <eu**@pi.be> wrote in message
news:2i************@uni-berlin.de...
In article <jd*********************@newssvr28.news.prodigy.co m>, jsWalter
wrote:
I have an extension Class to Auth and I'm looking for some folks to
hammer on it a bit and give feed back.
Class: AuthUser
- add user (well, Auth does that now, so its gone)
- remove user (well, Auth does that now, so its gone)
- change password (well, Auth does that now, so its gone)
- case sensitive ID match - some DBs don't
The place to handle this is in the class that implements Auth and
uses a DB.
Yes, that was where I orginally "fixed" this.
But the maintainers didn't think it was an issue so my "patch" was denied.
So, I added it to my extension.
- limit login attempts (as far as it can go on a browser)
Perhaps you can log all attempts somewhere, and then count how many
attempts faild. Based on that you can issue a delay...
This count is kept in the session. And if you try to log in before the
"timeout" length is done, you get the same message (or jumo to "your"
message page)
Yes, I understand this is not rock solid security. But, it's a start, and
I'm hoping someone can enlighten me on how to tighten this down a bit more.
- return to original page after login
An Authentication class does not need to know about pages. All it
has to do is authenticate users.
Exactly correct, thus this "extension" to the PEAR::Auth Class. This sits on
top of Auth, which handles the authentication process just fine.
This extension handles the other mundane processes needed to create a site
passed on authentication.
This does not replace Auth, it just adds to it.
So I take it for your comments your not interested in looking at this and
giving constructive comments.
Thanks for your thoughts.
Walter