title: Open File - Security Warning
body: <p><strong>OS:</strong> Vista Business 64-BIT<br>
  <strong>Coding:</strong>  .NET and 3-rd party EXE<br>
  <strong>Issue:</strong>  Security</p>
  
  <p>I have downloaded curl.exe to assist me in loading Product information from Amazon.  Curl.exe has been pre-compiled and is NOT a .NET app, so I do not feel comfortable in making any changes to the build of curl.</p>
  
  <p>On to the problem.</p>
  
  <p>When I execute CURL I get this dialog:</p>
  
  <p>Says:  <em>Open File - Security Warning
  The publisher could not be verified.  Are you sure you want to run this software?
  Run or Cancel</em></p>
  
  <p>I get this error whether I run the software manually or programatically.</p>
  
  <p>When I use this software manually I can deal with this, but I am trying to automate a process to run this programatically, so I want to suppress this dialog.</p>
  
  <p>While researching this I got a lot of info on adjustments to IE settings... but I am NOT running anything from my browser, just launching the exe in windows, so that is not an issue.</p>
  
  <p>I also see lots of info about adding different domains and servers to my allowed lists.  This is running locally on my own box (C:\curl.exe) so that is also not an issue.</p>
  
  <p>I am an admin of the box I am running this on.</p>
  
  <p>So very little info out there about this.  </p>
  
  <p><strong>Programming notes:</strong></p>
  
  <p>I am running this file though .NET like this:</p>
  
  <pre><code>string cmd = string.Empty;
  
  cmd += @"--location --user username:userpass -C - ";
  cmd += @"--digest -k https://assoc-datafeeds-na.amazon.com/datafeed/getFeed?filename=";
  cmd += FeedName + ".gz ";
  cmd += @"-o " + FeedFileFolder + FeedName + ".gz";
  
  System.Diagnostics.Process proc; // Declare New Process
  System.Diagnostics.ProcessStartInfo procInfo = new System.Diagnostics.ProcessStartInfo(); 
  
  procInfo.UseShellExecute = true;  //If this is false, only .exe's can be run.
  procInfo.WorkingDirectory = "C:"; //execute notepad from the C: Drive
  procInfo.FileName = "curl.exe"; // Program or Command to Execute.
  procInfo.Arguments = cmd; //Command line arguments.
  </code></pre>
  
  <p>So one alternative, if I cannot change a setting within Windows to allow this non-verified EXE without a digital signature, would be an adjustment to my procInfo to allow me to suppress this dialog, but I have not found it...</p>
  
  <p>Any ideas..?</p>
  
  <p>Thanks,
  Tom</p>