Exec
rule as a
Pass
rule with a bit more semantics. That is, the
protection must be defined before the Exec
rule,
but it can be based on either IP-address
or User Access Control. The following example is based on the latter form of protection:
Protection
setup:
Protection SCRIPTS { UserID secret GroupID www AuthType Basic ServerID ProxyServer PassWdfile /home/www/secret/passwd GroupFile /home/www/secret/group }
Protect
template:
Protect /htbin/* SCRIPTS
Exec
rule
Exec /htbin/* /where/your/scripts/are/*