I was searching for some reference / documentation / link if we can use arcpy to access secure ArcGIS Server map/image services for geoprocessing analysis. This geoprocessing script is exposed in the form of geoprocessing service and is accessed by different web applications. I have used a Arcgis server connection file to work it out somehow but different applications use standard url format i.e., 'http://serverName:Port/arcgis/services/ImageServices/ABCTest/ImageServer ' and our security module deals with individual user connections rather than a standard connection file.
Kindly, share any reference or your experience in this regard and if it is even possible? Thanks in advance for your help and support.