Limiting WebDAV Access to the Repository

WebDAV is used as a protocol to access resources within the Spectrum Spatial repository. By default, accessing the repository using WebDAV is not restricted to a particular server, rather open to all servers that can access the repository. You can restrict access to particular servers by modifying the spatial java property file. You can do this by adding the following property that includes a list of hostnames (IPs) that WebDAV is open to (comma separated). A Spectrumâ„¢ Technology Platform server restart is required after the change.

To limit repository access using WebDAV:

  1. Open the modules/spatial/java.properties file in an editor.
  2. Add the following property to the file.
    
    repository.accesscontrol.allows=
    
    					
  3. Include a list of IP addresses that you want to allow WebDAV access. Multiple servers can be added using a comma separated list of IP addresses. Leaving the property empty disables all access using WebDAV for all servers except the machine where Spectrumâ„¢ Technology Platform is installed.
    
    repository.accesscontrol.allows=192.168.2.1,192.168.2.2
    
    					
  4. Restart the server.

Once finished, WebDAV access is limited for the repository.