<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Output file using Export Web map - Security concerns in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684845#M26178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even though the output file is the same, the path to this file also contains &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;jobId&lt;/SPAN&gt;&lt;SPAN&gt; that is unique every time a print job is submitted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://.../customexportwebmap_gpserver/"&gt;http://.../customexportwebmap_gpserver/&lt;/A&gt;&lt;STRONG&gt;jf7b76c7368ab42399f804e0e0f33c3af&lt;/STRONG&gt;&lt;SPAN&gt;/scratch/87b62442e49f416698a619818e2ab9fa.png&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 00:36:21 GMT</pubDate>
    <dc:creator>SrinivasVinnakota</dc:creator>
    <dc:date>2013-03-14T00:36:21Z</dc:date>
    <item>
      <title>Output file using Export Web map - Security concerns</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684844#M26177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My concern is when passing the JSON to a customized Export Print GP Service (created and running on ArcServer), the output Param given is always the same overall file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case: _ags_0e39f550422945438fa0de5c6e211bae&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;h ttp://xxxx/arcgis/rest/directories/arcgisoutput/xxxxx/ExportWebMap_GPServer/_ags_0e39f550422945438fa0de5c6e211bae.pdf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you let the 10min clean up to occur, the next time the service is called, the SAME AGS file name is created and returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you send JSON to the service again.. it simply increments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;h ttp://xxxx/arcgis/rest/directories/arcgisoutput/xxxxx/ExportWebMap_GPServer/_ags_0e39f550422945438fa0de5c6e211bae1.pdf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you change format... same thing again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;h ttp://xxxx/arcgis/rest/directories/arcgisoutput/xxxxx/ExportWebMap_GPServer/_ags_0e39f550422945438fa0de5c6e211bae.jpg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to ensure these file names are unique? (e.g. random generated)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There would be nothing stopping a user from entering the same value and watch the various maps being exported as the name is not a random generated file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont understand why the file names are not unique, other than ease for cleanup on server side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any option to change this is welcome!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 19:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684844#M26177</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2013-03-12T19:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Output file using Export Web map - Security concerns</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684845#M26178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even though the output file is the same, the path to this file also contains &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;jobId&lt;/SPAN&gt;&lt;SPAN&gt; that is unique every time a print job is submitted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://.../customexportwebmap_gpserver/"&gt;http://.../customexportwebmap_gpserver/&lt;/A&gt;&lt;STRONG&gt;jf7b76c7368ab42399f804e0e0f33c3af&lt;/STRONG&gt;&lt;SPAN&gt;/scratch/87b62442e49f416698a619818e2ab9fa.png&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 00:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684845#M26178</guid>
      <dc:creator>SrinivasVinnakota</dc:creator>
      <dc:date>2013-03-14T00:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Output file using Export Web map - Security concerns</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684846#M26179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Even though the output file is the same, the path to this file also contains &lt;SPAN style="font-style:italic;"&gt;jobId&lt;/SPAN&gt; that is unique every time a print job is submitted. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://.../customexportwebmap_gpserver/"&gt;http://.../customexportwebmap_gpserver/&lt;/A&gt;&lt;STRONG&gt;jf7b76c7368ab42399f804e0e0f33c3af&lt;/STRONG&gt;/scratch/87b62442e49f416698a619818e2ab9fa.png&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I would expect, but it is not what is occurring. Is there some setting somewhere, or something I am missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not get a /scratch directory as the RETURN value when executing the JSON (Execute Service). I get what is exactly provided in my original post, from executing the JSON of the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution is Synchronous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see the Scratch folder, but they are under the Arcgisjobs dir and only gdbs exist in there.&amp;nbsp; There are no output pdfs or jpgs there, they go to the gisoutput, this is where the returned value points to as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I execute(GET) Or (POST) and it returns the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22714[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice the URL return value and then the directory of where the output is saved to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You will notice, when you run and run within the 10 mins, it will increment with a digit at the end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is nothing Unique about this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 19:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684846#M26179</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2013-03-18T19:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Output file using Export Web map - Security concerns</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684847#M26180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just answered my own question...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The difference is Synchronous vs Asynchronous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Execute task vs Submit Job)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Syncrhonous is nice because it returns the output when done, async gives you a UID job number, requires to check the job...check if Job Status = esriJobSucceeded then get the URL output file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which will be in a UID url directory as stated above (scratch).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure why both would not do this...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 21:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/output-file-using-export-web-map-security-concerns/m-p/684847#M26180</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2013-03-18T21:04:11Z</dc:date>
    </item>
  </channel>
</rss>

