ArcGIS API for JavaScript: Secure/DynamicLayers (MapServer)
Built using the ArcGIS API for JavaScript