Executive Summary:
This proposal advocates for the enhancement of the "Add Data from Path" tool in ArcGIS Pro to support API keys and other parameters in the header for added security and to introduce key-store support. These enhancements are critical to ensuring ArcGIS Pro remains a leader in GIS technology, meeting the evolving needs of a diverse and security-conscious user base. As a case study, the Open Source Software QGIS, which already provides this functionality, is examined to illustrate the benefits and feasibility of these enhancements.
Introduction:
ArcGIS Pro is recognized for its powerful capabilities and user-friendly interface. However, as the digital landscape evolves and the demand for robust security measures increases, there is a pressing need to enhance the "Add Data from Path" tool to support more secure data transactions and management. This proposal outlines the benefits and necessity of integrating such features into ArcGIS Pro, drawing insights from the QGIS implementation.
Current Challenges:
Case Study: QGIS
Proposed Enhancements:
API Key and Header Parameter Support:
Key-Store Support:
Justification:
Conclusion:
The integration of API key support and key-store functionality into the "Add Data from Path" tool is not just an enhancement; it's a fundamental step toward ensuring that ArcGIS Pro continues to lead the way in secure, user-friendly GIS technology. By adopting these changes, Esri will provide its users with the tools they need to manage their data securely and efficiently, reinforcing its commitment to excellence and innovation.
We urge the Esri Product Development Team to consider this proposal as a priority for the upcoming development cycle. Incorporating insights from the QGIS case study, Esri can enhance its product's security features, thereby demonstrating its commitment to leading the industry in responsible and secure data management.
Thank you for considering this proposal. We look forward to your positive response and are happy to provide any further information or clarification as needed.
Example: QGIS Implementation
Just want to check if you got a chance to check this out. Please let us know if this doesn't work for you.
Please read "Custom request parameters" section in this help doc: https://pro.arcgis.com/en/pro-app/2.9/help/mapping/layer-properties/add-layers-to-a-map.htm#ESRI_SEC...
@TanuHoque
The current functionality does not support:
Let's start with WMS and XYZ Tiles
The typical approach for securely passing api keys in get and post requests is via the `Authorization` parameter. This key first followed by a string value of `bearer` or a custom string such as `Apikey` and then the `API_Key`. (Note: Passing keys securely via this method works in QGIS for WMS and XYZ)
curl "https://api.nearmap.com/tiles/v3/VERTICAL/{z}/{x}/{y}.jpg" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey YOUR_API_KEY_HERE" \
-o "tile.jpg"
Additionally, other params can be passed in the header such as `since` depending on the APIs supported functionality:
curl "https://api.nearmap.com/tiles/v3/VERTICAL/{z}/{x}/{y}.jpg" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey YOUR_API_KEY_HERE" \
-H "since: 2022-02-10" \
-o "tile.jpg"
Testing in QGIS:
- The method works as expected and even saves and lets me update the API key and additional arguments.
Testing in ArcGIS Pro:
1.) Custom request params are not supported fro ZYX tiles so i tried passing through XYZ into ArcGIS Server Web Service and WMS and no luck. So the method does not even currently exist in a way that ensures API keys are securely handled.
I fully understand it's possible to pass the api key directly in the path and the params for xyz tiles however this does not bode well for security.
example:
https://api.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.{format}?apikey={YOUR_API_KEY}
Now for WMS.
Following the same method in QGIS i can reuse that same API key header information and then add additional key and value pairs for the request.
Using WMS OGC Web Service in ArcGIS Pro does not support passing the Authorization.
Additionally I am unable to pass the additional key and value pairs in the url.
In conclusion, the above should address the challenges and considerations involved in securely passing, editing, and storing authorization details for WMS and XYZ Tile URLs in ArcGIS Pro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.