There are several configuration options available that you may adjust to best fit your Web-serving environment. These options are available in the NetForms menu commands, described below.
Open Status
Figure C, below, displays the contents of the "Configuration" menu.
Update Recent Database
Misc. Configuration
Duplicate Files
Character Translation
The "Extras" panel, shown in figure E, contains more miscellaneous file-handling options.
Root Folder
Note that this setting allows the NetForms application to reside anywhere on the server's hard drive you wish; it need not reside in the web server root folder.
By default, NetForms sets the Root Folder to the folder in which the NetForms.acgi application resides.
Ask Server for Root Folder
Previous/Next Link
Recent Page File
Finally, the "Security" panel in the Configuration window contains options which determine the level of security provided by NetForms. Because NetForms allows anyone with a Web browser to create and view documents, and send email messages, on your server, it is very important that you understand these security settings and configure them appropriately for your users.
The "Security" panel is shown below in Figure F.
Convert angle brackets to HTML entities
When not checked, NetForms will simply leave the brackets in the user-entered text when it is inserted. This allows users to enter HTML tags and markup their articles.
The security advantage of selecting this option is that you will be able to prevent authors from embedding HTML tags in their articles, including formatting commands, images, and links to other pages. The downside, of course, is that if this option is selected, users won't have the option of entering HTML tags on their own to enhance the formatting of their pages.
Restrict access to Root Folder
This option is enabled by default, and there is rarely a reason to turn it off. Older versions of NetForms did not support Mac OS alias resolution, so allowing access outside the Root Folder provided a means of accessing other volumes. Now, however, you can access any folder on any mounted volume simply by placing an alias of the folder inside the Root Folder.
On the other hand, there are very good reasons for leaving it on. When you permit NetForms to access files outside the Root Folder, any file, even those within the System Folder, can be opened, read, or overwritten using the appropriate NetForms commands. This is particularly dangerous if you provide FTP upload abilities to your users, or if you disable some of the other security settings described below. In such a situation, a malicious user with knowledge of FDML syntax could upload or submit an FDML file which contained directives instructing NetForms to overwrite your System or Finder files with meaningless garbage ‹ thus quickly turning your server into an expensive paperweight.
Prohibit FDML tags in form fields
Again, this setting exists to prevent malicious users with knowledge of FDML syntax from submitting data that creates a new FDML file on your server, which could be written to return the contents of sensitive files via the user's Web browser.
Don't serve files with creator code: "XXXX"
Because NetForms FDML directives can be written to provide access to any files, regardless of their file creator, this security setting should be enabled to prevent access to WebSTAR files.
The protected creator code can be customized by the NetForms administrator, in case you use different web server software, or want to prohibit NetForms from serving other files based on creator code.
FDML files must have suffix: "XXXX"
In earlier releases, NetForms would process any file containing FDML commands which was specified in a form's ACTION attribute. This posed a potential security risk because a hacker could enter FDML commands into documents saved with an ".html" or ".txt" extension, and NetForms could then be used to retrieve files from the web server using that new, bogus, FDML file. Enabling this option causes NetForms to reject any FDML file not ending with the configured suffix. By default, the suffix is set to ".fdml". Obviously, the configured suffix should not be used as the suffix of any files created via CREATEDOC or TEXTSTORE directives.
Form and FDML must be on same server
Because the URL which defines the location of your FDML file, such as "http://your.server.com/NetForms.acgi$/Recipes/Recipe.FDML", can be accessed from anywhere on the Internet, someone at another web site could duplicate or copy the HTML form which provides user input to your FDML, and store that HTML file on their own web site. Then, anyone using that form on the other web site would submit data to your server to be processed by NetForms. This is known as "hijacking" your form.
This can cause many undesirable effects, such as skewing survey data collected via the form, or overloading your web server with more traffic than it was designed to withstand.
When this option is enabled, NetForms verifies that the HTML form used to submit data and the FDML file which will process the data reside on the same machine. If they do not, an error message is returned to the web browser and the form data is not processed.
Prohibit root-relative file paths
This limits the activity of an individual FDML file to its own folder and any subfolders within that folder. This feature is useful when many users have the capability of creating their own, separate NetForms systems, and you wish to ensure that documents created by these separate systems are not mixed together and remain within each user's individual directory space.
WebSTAR .FDML Files to CGI
Note that this command only works with WebSTAR, and it assumes that the file "NetForms.acgi" is located in the web server root folder. Other web servers cannot be automatically set up by NetForms, even though they may support "actions" and "suffix mappings". Consult your web server's documentation for information on setting up a NetForms action and suffix mapping manually.
Copyright © 1996-8 Maxum Development Corporation
820 South Bartlett Road - Suite 104
Streamwood, IL 60107
http://www.maxum.com/