Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Security, root and CGI?

by ig (Vicar)
on Jan 29, 2009 at 05:09 UTC ( #739765=note: print w/replies, xml ) Need Help??

in reply to Security, root and CGI?

You could use Kerberos to authenticate your CGI script to your runs-as-root script (and vice-versa if you wanted even more security).

To avoid a secret being recorded in your CGI script or one of its configuration files, you could run the script in a persistent environment (e.g. mod_perl) and have an operator enter the secret on startup.

It should be sufficient to authenticate the user once. Securing communications between your CGI script and your runs-as-root script is a separate problem from user authentication.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://739765]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2018-01-17 01:45 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (194 votes). Check out past polls.