Autodesk 15606-011408-9320 User Guide - Page 51
Accessing Data from the Autodesk MapGuide Viewer API, Architecture and Performance
UPC - 606121429586
View all Autodesk 15606-011408-9320 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 51 highlights
Accessing Data from the Autodesk MapGuide Viewer API Map authors can control whether developers can access coordinate values and map layer setup data using the API getVertices() and getLayerSetup() methods. You control the security of this data from the Map Layer Properties dialog box in Autodesk MapGuide Author. If you allow API access, you can also specify that the application must send a specific passkey first, which the application developer passes in with the unLock method. The developer can then use the getVertices() and getLayerSetup() methods to access the coordinate values and layer setup data. For more information, refer to the Autodesk MapGuide Viewer API Help. We do not recommend hard coding the passkey in your HTML application script because users can always view the source code of an HTML page. One option is to prompt users for their user IDs and passwords when they attempt to view secured data and then authenticate the user ID and password against a database on your server. Map authors can also control whether developers have access to the tracking ID using the getTrackingID() and setTrackingID() methods. You control the security of this data from the Map Window Properties dialog box in Autodesk MapGuide Author. Architecture and Performance This section discusses the different server agents and distributed architectures that you can implement for your Autodesk MapGuide Server and how they affect performance. On installation, Autodesk MapGuide Server selects a map agent based on the web server it detects. You can, however, go back to the installation program and install a different map agent at any time. Which MapAgent to Install There are three types of Autodesk MapGuide Server agents (MapAgents) that you can install: CGI This agent works on any type of web server and is easy to install. Therefore, if this is your first time building a web server, you might want to install the CGI agent instead of the ISAPI or NSAPI agents to avoid complications. However, you should note that CGI applications do not scale well on Windows NT/2000, meaning that they will not be able to take Architecture and Performance | 51