Protection password input box

zhaozj2021-02-16  54

I just read a password lookup written by C # just now, and all the procedures I did forgot to protect the password input box. Good, good. I hope that they are now safe, and by the way, how to prevent such things from happening, customize their TextBox, filter two special messages.

Protected Override Void WndProc (Ref Message M) {

// EM_GETLINE IS 0x00C4 /// WM_GETTEXT IS 0X000D IF (M.MSG == 0x000D || M.MSG == 0x00c4) Return; Base.WndProc (Ref M);}

Thank you, AppleDotNet's good article

Http://blog.9cbs.net/appleDotNet/archive/2004/06/27/27857.aspx

转载请注明原文地址:https://www.9cbs.com/read-19700.html

New Post(0)