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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I have a perl script that I

Status
Not open for further replies.

preethib

Programmer
Jul 20, 2000
39
IN
Hi,

I have a perl script that I want other to be able to execute by clicking on the link from the WEB UI.

My idea/method on this.
Have a HREF link on a intranet web site. When the user clicks on the link, I want to open a dos(on NT)/UNIX terminal pop-up window, login with my account information to a directory created specially for this script to run (with no security holes) and execute/run the script. Is this possible?


preety
 
Run an arbitrary program on a user's desktop from a web URL.....

That sounds like an extraordinarily bad idea to me.
 
Any suggestions as to how I can support Users's to try this script online.

I appreciate if someone could suggest a good resource for combining perl with HTML.


Thanks for the reply.
 
Let's see if I understand you correctly:

you want the user to click on a link that will open a hypertext terminal window so the user can log in the network. On login acceptance, you want to run a perl script. And you want all this to be absolutely safe. Hmmmmmm......


A tough one and I'm certain it can be done but I think you've got more steps and processes involved than you need. Since the perl script is on the system anyway, wouldn't it be a whole lot easier to verify the user (using perl) when they click on the link? Then, if they have the proper permissions to access this script, just run the script! There's always a better way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top