Is MaxLength safe?

zhaozj2021-02-16  53

This line is very familiar with people who have been developed by the website, where size and maxlength are restricted display lengths. And enter the number of words. I have mentioned in some SQL injection defense articles that refer to the input length in the input box to limit the input length to prevent SQL injection. However, the following things will break this idea.

[Registry Information] [HKEY_CURRENT_USER / SOFTWARE / Microsoft / Internet Explorer / Menuext / Extension Input Box] @ = "C: // Expand Input Box .htm" "Contexts" = DWord: 00000004

[Expanding the original code input box .htm]