Passing some file of a certain type

Martin Sapsed m.sapsed at BANGOR.AC.UK
Fri Jul 2 09:02:10 IST 2004


G. Armour Van Horn wrote:
> I have a client that uses *.reg files which they create as the licenses
> for the software they write. Naturally, he promptly insisted that I
> disable the blocking of that filetype, so I am now allowing them in both
> filename and filetype.rules.conf.
>
> However, could anyone suggest a rule that would allow RSD*.reg but deny
> all other *.reg files?

allow   ^RSD.*\.reg$     -       -
deny    \.reg$  Registry attack         Registry Attack

making sure the white space is tabs would do it I think...

Cheers,

Martin

--
Martin Sapsed
Information Services               "Who do you say I am?"
University of Wales, Bangor             Jesus of Nazareth

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list