Sun Java System Web Server 6.1 SP12 Administrator's Guide

Restricting Symbolic Links (UNIX/Linux)

You can limit the use of the file system links in your server. File system links are references to files stored in other directories or file systems. The reference makes the remote file as accessible as if it were in the current directory. There are two types of file system links:

For more information about hard and symbolic links, see your UNIX/Linux system documentation.

File system links are an easy way to create pointers to documents outside of the primary document directory and anyone can create these links. For this reason you might be concerned that people might create pointers to sensitive files (for example, confidential documents or system password files).

To restrict symbolic links, perform the following steps.

ProcedureTo restrict symbolic links

  1. From the Class Manager, click the Content Management tab.

  2. Click Symbolic Links.

  3. Choose Entire Server from the resource picker to apply your change to the whole class, or navigate to the document root for a specific virtual server, or to a specific directory or within a specific virtual server.

  4. Choose whether to enable soft and/or hard links and the directory to start from.

  5. Click OK.

    For more information, see the online help for the Symbolic Links page.