PDA

View Full Version : Adding A Security Question (or two) To The Log On Screen


mcyates
10-01-2004, 06:15 PM
Would it be possible to add 1 or two other fields to the user when logging on just to make the forum more secure as someone keeps on loggin on to my account even though i've change my password.

Just something simple like 2 extra questions like this:

Username:
Mothers Maiden Name:
Pets Name:
Password:

This would stop alot of people just guessing passwords and loggin into other people accounts. Also allowing people to change the question, basically typing a question on the user cp and putting an answer on it.

mcyates
10-02-2004, 06:50 AM
*bump*

xheliox
04-23-2005, 03:23 AM
Anyone? :)

twoseven
04-23-2005, 03:35 AM
you could make a dropdown list with a question and have the next box with an answer (or just have a box with a security option) and add a conditional to the login psudocode here: if l&p=stored values then check security word against user[fieldx] and if so login else error

Tekton
04-23-2005, 03:46 AM
I'm sure it won't be much help, but if you are interested in looking into it yourself:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=76270

That link does it (very sloppy, I might add) but instead of input questions, which would be much easier to implement, it checks IP bits.

The file you want to look into is includes/functions_login.php which is where the conditions are checked for login. Just read through it and where it is checking for password matching, add in and && AND condition to check if the input matches a database field that you will add.

Again, if you're just looking for someone to come up with this hack, none of this will be much use to you~ :)