excellarateinc / voyage-api-dotnet

Enterprise grade C# .NET Web Services API implementing industry standard best practices
Apache License 2.0
16 stars 14 forks source link

Security Questions #148

Closed raymer closed 6 years ago

raymer commented 7 years ago

We need CRUD for security questions.

1) Create the table to store them 2) Create CRUD repository 3) Create service to CRUD them 4) Create User Controller endpoints to create, retrieve and update them

raymer commented 7 years ago

If we already have this implemented on the Java side, let's build the .NET one in a similar fashion. Otherwise, use your best judgement for the table to store them and build it out. I can review when ready. I'll try to get the DB objects ready for this before it's picked up.

rajeshpandalss commented 7 years ago

Taking it up. Most probably, this has already been implemented in Java.

rajeshpandalss commented 7 years ago

@raymer https://github.com/lssinc/voyage-api-java/compare/security-questions-after-merge

As per the Java code, we have to create two tables- SecurityQuestions and UserSecurityQuestions. QuestionId from SecurityQuestions User Id will be the foreign keys in UserSecurityQuestions.

Also, we have to encrypt/decrypt the answer the user provides. Can you suggest a Encryption Algo that I should use?