Abstract:
A system and method for preventing user-input text strings of illegal lengths from being submitted to a remote database from a database client, where, for each character in the string, a character length is determined in quantities of digital units of storage according to an encoding schema, the character lengths are accumulated into a total string length, also measured in digital units of storage, and the total string length is compared to one or more database input field requirements such as non-null and maximum length specifications. If a limit is not met, the system and method are suitably disposed in a manner to block or prevent submission of the user-input string to the database. The invention is especially useful in preventing sensitive information, such as alternate passwords, from being inadvertently transmitted to the wrong database server, as well as being useful in pre-processing data in an off-line configuration.