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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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