Better HN
topnewbestaskshowjobs
Log inSign up

kiritsinh

1 karma · joined Jul 18, 2011 (15y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

i think what we can do is to run static code analysis to ensure all public methods have the third level authentication written in it. However it won't solve problem of making mistakes in the db queries. would love to see other's answers here if we can come up with generic full-proof solution.

comment 15y ago · link · parent

I agree on the fact that 'Generate temp password' will require more dev and user efforts but i don't think 'generate password' is more vulnerable than the link if the generated password is time bound. Also to make 'the link' more secure we need to verify the user identity. To make that happen need to store the user identity in the application.