Monks,

I am hoping that some of you may be able to give me pointers on a new project that I am looking at.

I am looking to create a self contained web application that will eventually run on many Unix servers. I will not be able to install any web server software such as Apache on these servers, however they all have Perl 5.6.1 or higher on but as a twist there are several different flavours of Unix / Linux (HP-UX, Solaris, Red Hat).

The application its self will need to carry out some functions, however these will probably have to be executed as root which causes me security problems.

I have very little experience in the creation of a Perl Webserver, however I have seen some examples using HTTP:Deamon which seem to work.

How would you go about this problem. Have each server running a mini perl web server as root that can perform these tasks, or set up some sort of IPC link between a web server and the other servers to allow the access.

How is the best way to deal with security on all of the servers running the applications or is this all a pipe dream that will be near impossible for me to pull off?

I am currently only looking at design ideas at present. I have looked at some of the code for Webmin which manages to carry out many of the tasks that I require, but I don’t know if it is secure or if I could create something similar for my application.

I would love to hear anyone’s comments or suggestions on these ideas, and would be grateful if any one has any information that might help me.

Many thanks in advance,

Alistair


In reply to Secure Standalone Web Applications with super user access by allyc

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.