If your hosting company is smart, they'll chroot customer's shell login. Chroot can be defeated if the user has shell access (which is difficult in most chroot environments, since it's hard to get at a shell in the first place) and possibly under other conditions, but it's better than nothing.

Also, if you want your own coloc box, get yourself hooked up with people in your area who'd also like their own server. Perl Mongers groups and LUGs are good places to find people. You can chip in on a business-class DSL or cable modem (something you can run a server on without the ISP coming down on you). Split three or four ways, you should be able to do it for $25 a month in the US (not sure about other countries, sorry)--about the same as a regular hosting provider. Find some old machines to run servers on (for a low traffic site, P100s are fine), and be sure that someone in the group has enough know-how to get a firewall up.

Most DSL/Cable modem ISPs give a lot more download speed than upload, even on buisness-class lines. The person who's house is storing all the servers should be willing to cover the cost of electricity, etc. for the extra downstream bandwidth they're given.

Then go to the hosting person's house with a camera, get your site posted on Slashdot, and take pictures as your server bursts into smoke :)

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated


In reply to Re: Securing your scripts on webhoster's server by hardburn
in thread Securing your scripts on webhoster's server by b10m

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.