System and method to dynamically check string length
Abstract
A system and method for preventing user-input text strings of illegal lengths from being submitted to a database 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 suitable disposed in a manner to block or prevent submission of the user-input string to the database. The invention can alternatively be realized as a plug-in for database front-end application programs, as a stand-alone web services provider, or as a plug-in for a client-side database access program such as a web browser.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of preventing text strings of disallowed lengths from being submitted to a database comprising the steps of: providing a hidden field associated with a visible user input field in a web page; receiving by said hidden field a field storage limit from a database front-end application; receiving by said front-end database application via said hidden and visible fields a user-provided string of characters intended for input into a database, said string being encoded according to a Unicode schema; for each character in said string, determining a character storage value by: (a) assigning a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- Designing Enterprise Applications with the J@ ee [TM] Platform, Second Edition, "4.4 Web-Tier Application Framework Design," downloaded from http://java.sun.com/blueprints/guidelines/designing<SUB>-</SUB>enterprises<SUB>-</SUB>application on Sep. 15, 2005.
- IBM, United States Software Announcement 205-18, IBM Cloudscape V10.1 Provides a Full-featured, Robust, Small Footprint Database Server that is Simple to Deploy and Reduces the Cost of Embedded and Web-based Applications, http://www-306.ibm.com/common/ssi/fcgi-bin/ssialias?infotype=an&su. on Sep. 15
- Jakarta Commons Home "Welcome to the Jakarta Commons", downloaded from http://jakarata.apache.org/commons/index.html on Sep. 15, 2005.
- Kirkrgaard C., Moller A., Schwartzbach M.I., Static analysis of XML transformations in Java, Mar. 2004, IEEE JNL, vol. 30, Issue 3 , pp. 181-192.
- Kuhn, Markus, "UTF-8 and Unicode FAQ for Unix/Linux", downloaded from http://www.cl.cam.ac.uk~mgk25/unicode.html on Sep. 15, 2005.