First, you can handle this entirely in the
.htaccess file or equivalent,
at least in Apache, by making it
deny from all for
method GET HEAD,
as in (untested):
<Files foo bar>
<Method GET HEAD>
order deny, allow
deny from all
</Method>
</Files>
Second, preventing anything but POST means I just have to write a script,
and still won't need to go through your page. perldoc lwpcook shows
how trivial it is to write such a program.
My advice (free, and worth every penny!): give it up. Artificial restrictions
like this will always be worked around. I know, I've worked around a number
myself. It's the illusion of control or security, and just that: an illusion.
-- Randal L. Schwartz, Perl hacker