WEB SERVERS


Restricting the amount of data users can send to a Domino database
The HTTP POST and PUT methods allow users to send data to the IBM® Lotus® Domino™ server. The Server record field "Maximum size of request content" sets a limit on the amount of data that can be sent using either POST or PUT. This limit is enforced for all POST and PUT methods, whether the target is a database, CGI program, or Java servlet, and applies to all Web sites.

The Web Site document contains two additional settings that control POST and PUT methods that target a database (for example, filling in a form or uploading a file attachment). These settings reside in the Web Site document so that you can specify different values for each Web site.

To restrict the amount of data that can be sent to a Domino database

1. From the Domino Administrator, click the Configuration tab, expand the Web section and click Internet Sites.

2. Choose the Web Site document you want to edit and click Edit Document.

3. Click the Domino Web Engine tab. Under "POST Data" complete these fields:
FieldAction
Maximum POST dataEnter the amount of data in KB that a user is allowed to send to the Web site in a POST request that targets a database. The default is 0, which does not restrict the amount of data that users can send (however, the amount is still limited by the Server record setting "Maximum request content"). This limit applies to both the PUT and the POST HTTP methods.

If users try to send more than the maximum allowed data, Domino returns an error message to the browser.

File compression on uploadChoose one:
  • Enabled -- To compress files before adding them to a database. Compressing files saves disk space on the server.
  • Disabled (default) -- If clients use a browser that supports byte-range serving. You cannot download compressed files using Domino byte-range serving.
For more information on byte-range serving, see Improving file-download performance for Web clients.

See also