To add permissions for a directory which will be used for loading files, you simply add another mapping. Adding the following <map> tag allows PopChart Server to load files from the apfiles directory on the local Z drive (Windows Example).
<Map Name="myApfiles" Path="Z:\apfiles" Action="Load"/>
The following example tag adds saving permission for the /usr/home/myname/images/ directory and all of its subdirectories (UNIX Example).
<Map Name="mySaveFiles" Path="/usr/home/myname/images/*" Action="Save"/>
PopChart Server also supports UNC (Universal Naming Convention) in a Microsoft Network. This allows you to specify a file location on a different machine. For example \\WebServer\MyGraphs\apfiles\test.bin would refer to the file test.bin in the apfiles directory which is located in the share named MyGraphs on the machine WebServer.
To add load permissions from this directory, create the following mapping.
<Map Name="myApfiles" Path="\\WebServer\MyGraphs\apfiles" Action="Load"/>
Finally, PopChart Server also supports loading files from URLs. For instance, you could load a file from http://appserver.mycompany.com. To allow PopChart Server to load files from this host, you would need to add the following mapping.
<Map Name="ValidDomain" Path="appserver.mycompany.com" Action="allowDomain"/>
Alternatively, you could use wildcards to allow PopChart Server to load files from any computer in a domain. For example, to allow any server in the mycompany.com domain, use the following mapping.
<Map Name="ValidDomain" Path="*.mycompany.com" Action="allowDomain"/>
Likewise, you can use wildcards to specify a subnet for PopChart Server to load from. For example, to allow PopChart Server to load anything from the 10.0.x.x subnet, you would add the following mapping.
<Map Name="ValidDomain" Path="10.0.*.*" Action="allowDomain"/>
Note: PopChart Server can only load files from HTTP Requests (i.e. not FTP support). PopChart Server cannot save files to a URL.