Download File Type Selection

How can we make our software better?

Moderators: Tyler, Scott

Post Reply
behrje_r
Observer
Observer
Posts: 3
Joined: Mon Oct 03, 2005 12:04 pm

Download File Type Selection

Post by behrje_r »

It sure would be nice to have another control of which file types can be downloaded instead of the current IE interface in group policies which restricts us to a yes/no setting

Scott
Site Admin
Site Admin
Posts: 2537
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

You can control the types of files that are accessed by using regular expressions in the PWB URL filter. Use the regular expression to match the end of the URL to deny access to the type of file.

For example to prevent downloading of ZIP and EXE type files, put this in your URL filter file.

+all
-\.zip$
-\.exe$

The "+all" allows all URLs, the "\." interrupts the "." as literal, the "exe" or "zip" is the type of file, and the "$" is the regular expression to match the end.

This allows only URLs that end with ".zip", or ".exe" to be denied, while URLs that simply contain ".zip", or ".exe" to be allowed.

--Scott

Jenny
Observer
Observer
Posts: 2
Joined: Fri Jul 16, 2010 1:37 am

Post by Jenny »

Thank you Scott...
I really also need this thing.
Thanks again

Post Reply