Security Question

Shane Cao asked on May 29, 2019 16:27

I'm implementing the user registration function for my site. Does Kentico's user registration feature allow users to provide security questions?

Correct Answer

Rui Wang answered on June 12, 2019 14:36

You can uses drop down form control, and use SQL query that SELECT ID, Question FROM Security Question table. The question ID would be what you would store alone with the answer.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Rui Wang answered on May 29, 2019 17:28

No, there is nothing out of box for that.

You can add this with a few steps. Add a custom table to manage a list of questions. Then in the Modules > Membership module, add fields to the User class to store the questions they selected and the answers.

You will need to customize the registration in order to prompt the questions for answers. Also need to add the logic on where you want to ask the security question later on.

2 votesVote for this answer Mark as a Correct answer

Shane Cao answered on June 11, 2019 22:01 (last edited on June 11, 2019 22:02)

@Rui Wang

I've began implementing this.

Steps so far: 1. Created Security Question custom table 2. Added questions to the table 3. Added security question and answer fields to the user class through an alternate form I am using for registration.

My question basically is, what would be the best way to display a drop down on the Registration page for the the user the select their desired security question and have it save to the user class?

0 votesVote for this answer Mark as a Correct answer

Shane Cao answered on July 9, 2019 17:27

Thank you for the help! @Rui Wang

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.