How to save the Password in C# .NET?

后端 未结 5 1019
南笙
南笙 2021-01-13 12:50

I am making a C#.NET application wherein I have designed an Administrator account. Now to Login in that account the Administrator has to enter the password.

My Ques

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-13 13:35

    For security reasons I would recommend you to store only the hash of the password and never the clear text password. You could store it in any persistent media you find it convenient: file registry, database, ...

提交回复
热议问题