laptop and a wrench

漏洞

When using HTTPS to connect to ArcGIS Mobile services, the first request attempts to connect via port 80 (http).

上次发布: August 25, 2014 ArcGIS Runtime for Windows Mobile
漏洞 ID 编号 NIM059652
已提交August 3, 2010
上次修改时间June 5, 2024
适用范围ArcGIS Runtime for Windows Mobile
找到的版本9.3.1
操作系统Windows OS
操作系统版本XP
状态Non-Reproducible

附加信息

No Public Explanation

解决办法

Use the CatalogService directly:CatalogService cs = new CatalogService(); <a href="http://System.Net" target="_blank">System.Net</a>.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; }; cs.Url = @"<a href="https://server/arcgis/services" target="_blank">https://server/arcgis/services</a>"; // step 1. determine whether the arcgis server requires token bool requiretokens = cs.RequiresTokens(); // if token is required if (requiretokens) { // step 2. get the url for token server string tokenserviceurl = cs.GetTokenServiceURL(); // step 3. create a tokencredential TokenCredential tokencredential = new TokenCredential("user", "password"); // step 4. use a tokengenerator to get the token from token server TokenGenerator tokengenerator = new TokenGenerator(); string token = TokenGenerator.GenerateToken(tokenserviceurl, tokencredential); // request mobileService1.Url = "<a href="https://server/arcgis/services/Secured/RedlandsHydro/MapServer/MobileServer?token=" target="_blank">https://server/arcgis/services/Secured/RedlandsHydro/MapServer/MobileServer?token=</a>" + token; mobileService1.CacheStoragePath = @"<a href="file:C:/temp/mapcache931" target="_blank">C:\temp\mapcache931</a>"; if (mobileService1.CacheExists) mobileService1.DeleteCache(); mobileService1.Open(CacheOpenMode.Create); mobileService1.GetDataAsync(map1, false, null); }

重现步骤

漏洞 ID: NIM059652

软件:

  • ArcGIS Runtime for Windows Mobile

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项