Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running .EXE and .BAT from ASP

Status
Not open for further replies.

CarlosArturo

Programmer
Jun 1, 2002
6
0
0
CA
Hi,

I need to give some users the ability to run programs (.EXEs and .BATs) on the server from ASP.

The server is running WindowsNT 4.0 and IIS4.0.

I would like to know a secure way to do this.

Thanks,
Carlos
 
Hi CarlosArturo,

Change permissions on the executables to only allow the people that can run them.. Also ensure that EXECUTE is set in IIS for this folder.

Cheers,

Gorkem.
 
Hi Gorkem,

These executables aren't part of my web site. Should I put them into a folder in my web application?

As for the initiation of the programs, it is good practice to use the Run method of WScript.Shell object?... Is there another way to do it?

Thanks,
Carlos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top