Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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
    4. Scheduled Tasks won't run
      is there anyway to change the user which scheduler uses ? there must be ?
    5. 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,...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139