Close Menu
ElMajdal.netElMajdal.net
    Facebook X (Twitter) Instagram YouTube
    Facebook X (Twitter) Instagram YouTube
    ElMajdal.netElMajdal.net
    Contact Us
    • Home
    • Windows
      • Windows 11
      • Windows 10
      • Windows 8
      • Windows 7
    • Servers
      • Windows Server
      • Windows Server 2008
      • Exchange Server
    • MAC OS
    • ISA/TMG
    • About Tarek
    ElMajdal.netElMajdal.net
    Home » ISA Firewall Quick Tip : Blocking Desired Extensions and Content Types
    ISA Server

    ISA Firewall Quick Tip : Blocking Desired Extensions and Content Types

    TarekBy Tarek4 Mins Read
    WhatsApp Facebook Twitter Telegram Reddit Email
    blank
    Share
    WhatsApp Facebook Twitter Telegram Reddit Email

    Introduction

    Many people have asked over the years how to block selected File downloads, based on Extension and/or Content Type

    Background

    This is most useful when you need to block streaming media,  you can use the combination of blocking Extensions and Content Types.

    Configuration

    1. Open ISA Management Console

    2. Create a new Access rule, Right click Firewall Policy , then click on New then choose Access Rule

    This also can be done from the Right Pane, under the Tasks bar:

    3. The New Access Rule Wizard will be launched, give a name to your new rule , in this example we will name it Allow Internet, then click Next

    4. In the Rule Action page, we choose which action we want to grant for our users, first we need to create the allow rule that will allow them to have internet access, so we choose Allow, then click Next

    5. I always prefer not to grant users an open rule, in this I mean a rule with all outbound protocols, that’s why I always prefer to grant my users a selected protocols for each rule. In the Protocols page, From the drop down list of This Rule Applies To, choose Selected Protocols,

    click on Add button, the Add Protocol page will open, expand the Common Protocols container,  choose the HTTP, HTTPS, POP3 & SMTP    ( these are the most common protocols used, you can have any other protocols as desired ) protocols and click on Add , then click Close

    The selected protocols will be displayed in the Protocols page, click Next

    6. On the Access Rule Sources page, click the Add button. In the Add Network Entities dialog box, click on the Networks folder. Double click on the Internal network, then click the Close button in the Add Network Entities dialog box. Click Next in the Access Rule Sources dialog box.

    7. Click the Add button on the Access Rule Destinations page. In the Add Network Entities dialog box, click the Networks folder. Double click the External entry and click Close in the Add Network Entities dialog box. Click Next on the Access Rule Destinations page.

     

    8. On the User Sets page, accept the default setting of All Users.

    9. Review your settings and click Finish on the Completing the New Access Rule Wizard page.

    10. Click the Apply button to save the changes and update the firewall policy. This button is located at the top of the Details pane (the middle pane) of the console.

    11. Your rule will look this :

    12. The rule you have just created will permit your users to surf the Internet with only the selected protocols, but your users will be able to download whatever they want !! so what you need to do is to filter such ability by File Extension and/or Content Type.

    13. Right click your Allow Rule, then click on Configure HTTP

    14. The Configure HTTP Policy page will open In this article we will only discuss the Extensions Tab , for more info on the Configure HTTP Policy check the related links at the end of this article.

    15. Click on the Extensions Tab, then from the drop down list choose Block specified extensions (allow all others).

    16. Click on the Add button In this page, start adding the extension you desire to block, such as wmv, avi and so on.

    After you finish from filling the extensions you desire to block , click on OK

    17. Click the Apply button to save the changes and update the firewall policy.

    18.  We finished now with the Extensions part, now if you need also to block by Content Type, double click on the Allow Internet rule

    Then click on the Content Types Tab

    19. By default, all Content types are enabled, what we need to do now is to select only the ones we need to be enabled on this rule, that’s why we need to enable the radio button beside the Selected content types ( with this option selected , the rule is applicable only to HTTP traffic ) under the This rule applies to

    20. Start selecting the content types you want to enable, in this article, we do not want to enable streaming content types, so we leave the audio and video content types deselected. After you finish from selecting, click on OK

    21. Click the Apply button to save the changes and update the firewall policy.

    Summary

    In this article, we learned how to create a new Access Rule, and how to filter this allow to block selected extensions and content types.

    Share. WhatsApp Facebook Twitter Telegram Reddit Email
    Previous ArticleISA Firewall Quick Tip : Allowing FTP Uploads Through ISA Server 2004/2006
    Next Article ISA Firewall Quick Tip : Internal DNS Forwarding Through ISA Server 2004/2006
    Tarek
    • Website
    • Facebook
    • X (Twitter)
    • Instagram

    Tarek Majdalani is an accomplished Windows Expert-IT Pro MVP, honored by Microsoft for eight consecutive years from 2007-2015. Holding a B.E. in Computer Engineering from the Lebanese American University, he pursued further education while working, earning various certificates showcased in his MVP profile. Tarek is currently serving as the Director of Engineering & Technology at Alrai Media Group in Kuwait. Since 2006, he has been actively contributing to the community by writing tutorials featuring tips and tricks, amassing over 300 tutorials on diverse systems.

    Related Article

    ISA 2004, ISA 2006 and TMG Server 2010 Version Numbers

    Enabling HTTPS Inspection With Forefront TMG Server 2010

    Search Feature For TMG 2010 Firewall Policies

    Leave A Reply Cancel Reply

    Latest Posts

    How To Enable Active Directory Recycle Bin On Windows Server

    How To Check The Health Of Your Laptop’s Battery In Windows

    How To Transfer FSMO Roles In Active Directory Using PowerShell

    How To Check Active Directory Forest And Domain Functional Level In Windows Server

    Advertisement

    For any Feedback, click on the Contact Us link

    Facebook X (Twitter) Instagram YouTube
    Quick Links
    • Contact Us
    • About Tarek
    • Windows 11
    • Windows 8
    • Windows 10
    • Windows 7
    • Windows Server
    • Windows Server 2008
    • Exchange Server
    • macOS
    • ISA Server
    • Privacy Policy
    Visitors
    • Contact Us
    • About Tarek
    • Windows 11
    • Windows 8
    • Windows 10
    • Windows 7
    • Windows Server
    • Windows Server 2008
    • Exchange Server
    • macOS
    • ISA Server
    • Privacy Policy
    © ElMajdal 2007-2025

    Type above and press Enter to search. Press Esc to cancel.

    ×