asp.net - Is password input sanitization required? -


i'm trying sanitize data that's inputted making sure data valid particular field (e.g. name can't contain special characters/numbers etc..) however, i'm not sure when comes password field. need bother sanitization password hashed? if user inject malicious via password textbox, should bother checking suspicious? afaik, users may (should!) have special characters such '< >', trigger potential attack alert. should leave password field unsanitized? limiting input passwords last resort me, feel users should use sorts of characters in passwords.

thanks

as long hashing in application, should ok.

a bit off topic considering using asp.net, notable exception if using php , mysql , doing this:

update users set password = password('$pwd') userid = $uid 

in case want sanitize $pwd first.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -