首页 > 编程知识 正文

mysql替换部分字符串,mysql字符串函数

时间:2023-05-05 00:15:26 阅读:153898 作者:1255

If I want to make a C# login form,withamysqldatabsewhichprovidestheuserdata,in c#,iwouldsayit ' sunsafetowritethedatabasepassssswore andisthereanotherwaylikeawebserverwhichwillconnecttothedatabaseandcheckifuserdataisright?

Talk1:

wellifyouseanotherservicetodothelogin,wontthathavetheaccesscredentialssomewhereintheconnectionstring?

Talk3:

thatreferencelinkisformsftsql-server.andtomcanyoupleaseimproveyourquestionbecauserightnowitisquiteunclearandisnothelpingmum ordsifyouareusingapacheorsomethingthen.netisnottoorelevantinsomeoftheanswersbelow

youshouldstoresuchthingsinaconfigurationfile . nethastheoptiontouseencryptioninweb.config/app.config。

eitherwayyouwillhavetoprovidethosecredentials.youcanpasstheminconnectionstringinyourcode (canhavethosemaintainedinweb.coned ) youcanactuallyencryptthepasswordandhavetheencryptedvaluementiity

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。