Here's a simple one: set the password as an environment variable in your apache config file, and make the file readable only by you. The fact that the process is gonna setuid to user nobody (as is pretty common), is not an issue, because the config file is read before that happens.
This would, of course, not really help if you don't have your own apache process space (because, let's say, you and all of your peers are sharing port 80 via virtual hosts, and no reverse proxying -- ack!). Of course, if you don't have your own process space, then, really, how can you expect to have any kind of security at all?
I suppose, though, that in the case of not having your own process space at all, you could ask the server administrators to let you drop your own apache config section inside the <VirtualHost ...> block that applies to you, and then make use of the same idea.
------------
:Wq
Not an editor command: Wq
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.