Topic: PathDenyFilter exclude all file types except specific extensions

Hello. i dont know a lot about regex and i want to exclude all file types except specific extensions:( can someone give me a tip?
i think that also a PathAllowFilter will be a good addition in this great software.thanks

Re: PathDenyFilter exclude all file types except specific extensions

Hi,

Maybe a little sample is better than sentence:

PathDenyFliter ".*(\.docx|\.php|\.py)$"

This pattern would block all file with extension .docx, .php or .py.

Adding PathAllowFilter should be a good idea to ensure high security of access smile