Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
How to implement Secret(Questions) using Q2 SDK

Hello,
we are trying to implement questions(secret) for the online client extension to provide questions to the user.
example: Who was your first teacher?
and later in order to update the list of questions we should not go for code changes and deployment.
can you suggest the best way to achieve this? like(wedge configs, stored procedures, etc)

Thanks,
swarup
https://nuevesolutions.com

Posted 4 years ago
Votes Newest

Answers


My recommendation for this would be:

  1. These "questions" are basically 2nd passwords with hints. They are not 2FA. They should be treated like passwords. Storing in UserData is probably the best location. They need to be hashed and not stored in plain text. argon2 is generally considered the best password hashing algorithm these days. https://argon2-cffi.readthedocs.io/en/stable/ Bcrypt is a good alternative if for some reason argon2 is not possible.

  2. Store the list of possible questions as configs in wedge address config. store user's answers (as hashes) in UserData. Maintain the map of question text to UserDataElements in the wedge address config.

Posted 4 years ago
Ryan Hollister
196 × 4 Administrator
0

thanks for the answers. If the tech support at the FI need to see the secuirty answers would it be possible through this approach? or would you suggest a different approach for it? Does Q2 provide any UI for seeing the security answers?

— Ravi Kallepalli   4 years ago
134 Views
1 Answer
4 years ago
4 years ago
Tags