IIS Server Security - Executing a .EXE program from HTML in IIS and XP Pro

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > February 2005 > Executing a .EXE program from HTML in IIS and XP Pro





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Executing a .EXE program from HTML in IIS and XP Pro
ted_thompson61

2005-02-25, 8:47 pm

We have an application that works on Win 2000 and IIS.

The program written in C and compiled as .EXE, takes data from an HTML form,
uses the cmd shell to copy a template file and replaces the data in the
template with the data from the form. The program then executes another
program which creates data and executes gnuplot which generates plots.

All the above worked fine under Win 2000, but we can't seem to get it to
work under XP Pro SP1 or SP2.

The program runs and has write permissions in the folder because it writes a
debug file with the correct data from the HTML forms. The cmd shells for
copying the file and executing the other program both return -1.

Using IE 6.0 and IIS V5.1. We have turned the firewall off, no virus
software, and lowered security settings for all zones. I even turned off the
Local Machine Lockdown registry values.

Can someone please help with this? I have a deadline comping up in a week.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com