Whats the safest way to store 2fa/mfa secret key in database?

I try to implement a secure user login in my .net application. The first password is hashed with argon2id. The salt and the hashed password is stored in a database. SSL encryption and HttpOnly Cookie is used.
Now i want to add a multifacto… Continue reading Whats the safest way to store 2fa/mfa secret key in database?

Why shouldn’t I use the OAuth password grant if I have to implement a custom username+password login anyway?

I’m building a web REST API. Users must be able to authenticate themselves to this API.
I don’t know ahead of time which clients will want to use the API. I want to allow for the possibility of anyone creating their own client, like a cust… Continue reading Why shouldn’t I use the OAuth password grant if I have to implement a custom username+password login anyway?

Is local password recovery for each device a viable security approach?

I’m developing a multi-platform application using Flutter, which involves sensitive user data and requires both online and offline accessibility. To enhance security and usability, I am considering implementing a local password recovery me… Continue reading Is local password recovery for each device a viable security approach?

Does the recommendation to use password managers also apply to corporate environments?

In $SomeCorpo there is a policy that passwords must never be stored anywhere else except employees’ heads. Paper notes, password managers, storing passwords in browsers, etc, are all forbidden. To facilitate this they are even willing to r… Continue reading Does the recommendation to use password managers also apply to corporate environments?

What is a secure way to store the master-password of a password manager? [duplicate]

I use a password manager to provide a decent information security level in my everyday life – by generating strong passwords on every occasion – and remembering only the one master-password.
But now I become concerned – what if by some acc… Continue reading What is a secure way to store the master-password of a password manager? [duplicate]