Ask a Question related to PERL Miscellaneous, Design and Development.
-
Kevin Ratcliffe #1
CGI and admin tasks
Hi
I am attempting to write a script that can add email accounts that my
boss can use, with a nice html interface. I've done the easy bit,
creating the form. I was going to write a script that writes all the
user details to a file, and then a cron job runs another script that
reads the file and adds the account. But I would like something more
immediate. But the CGI scripts do not have the priveliges to create
accounts. I understand that there will be great security risks in
having the script run suid. Has anybody any ideas?
I am new to perl, but pick things up quickly.
Kev
Kevin Ratcliffe Guest
-
Schedule Tasks with SSL
I have just upgraded from CF5 to CF7, W2K3. Our webserver is SSL and is working well. The CF5 Scheduled Task screen provided a port field for SSL... -
CFMX7 Scheduled Tasks Admin Page Problem
I just migrated from CFMX 6.1 to CFMX 7.0 to CFMX 7.0.1. In the process, the installer migrated my scheduled tasks but when I look at my tasks in... -
ASP.NET 2.0 Control Tasks
Hello- Does anyone have any examples or resources that discuss adding tasks to the designer in ASP.NET 2.0 controls? Regards- Eric -
Scheduled Tasks won't run
is there anyway to change the user which scheduler uses ? there must be ? -
background tasks without "scheduled tasks"
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul,... -
Greg Bacon #2
Re: CGI and admin tasks
In article <MU18b.47$R24.40285@newsfep1-win.server.ntli.net>,
Kevin Ratcliffe <kevin.ratcliffe@ntlworld.com> wrote:
: I am attempting to write a script that can add email accounts that my
: boss can use, with a nice html interface. I've done the easy bit,
: creating the form. I was going to write a script that writes all the
: user details to a file, and then a cron job runs another script that
: reads the file and adds the account. But I would like something more
: immediate. But the CGI scripts do not have the priveliges to create
: accounts. I understand that there will be great security risks in
: having the script run suid. Has anybody any ideas?
It would almost certainly be better to leave the two separate. One
way to increase responsiveness would be to run a daemon that watches
some rendezvous point rather than your current cronjob. Your privileged
account creater *must* treat its input as untrusted.
Please, please, please be *very* careful. Read the perlsec manpage
several times. Turn on taint checking. Check your input thoroughly.
Borrowing a vivid description from Ross Anderson[*], you're now
programming Satan's computer. Keep that in mind.
[*] See [url]http://www.ftp.cl.cam.ac.uk/ftp/users/rja14/satan.pdf[/url]
Greg
--
This advice is not a substitute for independent thought
-- Mark-Jason Dominus, "Program Repair Shop"
Greg Bacon Guest



Reply With Quote

