ActiveX call requires changing IE security setting?

I am trying to create a button that will launch a batch file located on a file server. Here is the code so far:

It works, however, because it is executing a batch file that is on another server, it needs an IE intranet security setting changed. ‘Initialize and script ActiveX controls not marked as safe’ needs to be set to enabled.

Does anyone know how to grab a file from a file server and execute it without having to change this setting? Can you have a batch file signed so that it is accepted by the browser? Any help is appreciated.

Thanks!

Subject: ActiveX call requires changing IE security setting?

  • Turn off ActiveX entirely. Just say no.- Equally important, avoid WSH, which has full reign to modify the Registry and do all sorts of ugly things that no externally invokable code should have. It’s actually disabled on this system, but that’s not a very simple task. XP works incredibly hard to ensure that sticks around.

  • Use CGI or a servlet to run your server-side code and return the result as plain old HTML. Those are established technologies that don’t generally have unrestricted rights to toast your computer, by default.

  • Hope this helps…