Skip to content

Running applications/scripts on a server from a webpage

Featured Replies

Right , my web skills are very much limited to static HTML and a bit of CSS , but I've got a project I'm working on that goes beyond that.

Basically I need to have a web front end that can be used to trigger .bat files or other applications to run on the server itself rather than running on the client which will be out on a customer site somewhere , and I have no idea how to do this.

Any pointers? It's a windoze 2003 server using IIS.

Probably easiest doing it in .NET if you're already running IIS...and you can pick your language of choice to do it in.

Not sure if opening up the permissions to get it to run batch scripts on the server would be possible/advisable though!

Rob.

Failing robs suggestion that you can always do via GCI as a specific user.

It's a bit beyond my web skills too, but asp and vbscript files may be worth a look if you can invest a bit of time.

  • Author
As mentioned your best bet is some cgi scripts.

CGI Secrets for the Network Administrator

That looks like it will do the sort of things I need , but it requires it's own webserver. There's another application running on my machine that uses IIS , so I can't run that side by side without problems.

I'm on the right track now though

nah you can run that in a shared IIS instance, just create a seperate site.

  • Author
nah you can run that in a shared IIS instance, just create a seperate site.

Cool, ta

If you have SQL installed you could use stored procedures to call the files you need...

I have an application at work that calls simple stuff like ping, tracert, etc, on the server to check connectivity. Works like a charm...

If you have SQL installed you could use stored procedures to call the files you need...

I have an application at work that calls simple stuff like ping, tracert, etc, on the server to check connectivity. Works like a charm...

However that is a pretty heavy way of doing it IMHO compared to CGI.

I know, but I'd never used SPs for that purpose before, so I thought I'd go crazy ;)

However that is a pretty heavy way of doing it IMHO compared to CGI.

:eek::eek::eek: yeah thats like buying an Aston Martin to take your kids the 2 miles most parents drive to school.

Input validation, Input sanitation

:eek::eek::eek: yeah thats like buying an Aston Martin to take your kids the 2 miles most parents drive to school.

So pretty much the same as buying a chuffing great Range Rover sport to take the kids to school...

The way a lot of people think, sounds like a good idea :rofl:

pretty much yeah

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.