Support
- Advanced Backup
- Client Side
- Cloud Enterprise
- ColdFusion
- Control Panel
- cPanel
- Customer Portal
- DNS Information
- Dedicated Servers
- DirectAdmin
- Domain Name
- dotDefender
- Block Uploads by Filetype with dotDefender in Linux
- Change Admin Email Address for dotDefender Blocked Requests
- Common Whitelist Rules for DotDefender
- Configure dotDefender Default Error Page
- Whitelist an IP Address
- dotDefender Pattern Details
- Locate dotDefender Blocked Requests: Windows
- Whitelist a URI
- Locate dotDefender Blocked Requests: Linux
- Migrating dotDefender Settings to New Hardware
- Dreamweaver
- FileCatalyst
- Front Page
- FTP
- General Information
- Hosted Exchange & SharePoint
- IIS6
- IIS7
- Juniper Netscreen Firewalls
- Linux
- List Server
- MIVA Merchant
- MySQL
- Patching / Server Updates
- phpMyAdmin
- Plesk
- Policies and Procedures
- Premium Spam Filtering
- Programming
- Ruby on Rails
- Search Engine Submission
- SharePoint 3
- SharePoint 2010
- SiteDesigner
- SmarterMail 3
- SmarterMail 4
- SmarterMail 5
- SmarterMail 6
- SmarterMail 7
- SmarterStats
- SmarterTrack
- SQL Server
- Secure Socket Layer (SSL)
- Uploading Your Website
- Video Tutorials
- Windows Server 2003
- Windows Server 2008
- Web Design
- WordPress
- Advanced Monitoring
- MediaWiki
- Enkompass
- Microsoft Outlook 2010
- Android
- Outlook Web Access
- Critical Availability Service
- NAS Data Transfer
- Customer Portal Demos
- Joomla
- Moodle
- Cloud Dedicated
- Gallery CMS
- phpBB
- Standard Monitoring
- Righteous Restore
- NAS (Network Attached Storage)
- Networking
- SmarterMail 8
- PCI Security Scan
- LinkTiger
- Windows Cloud VPS
- Linux Cloud VPS
- Linux VPS
- Windows VPS
- Hyper V
- ENSIM
- Alert Logic
- Webmin
- e107
- Vbulletin
- VPN
- Visual Vault
- Mozilla Thunderbird
- PyroCMS
- Active Directory
- Vmware Related
- Drupal
Block uploads by file type using dotDefender in Linux
In this example we will be blocking both PHP and CFM file types based on the file extension. This will prevent these file types from being uploaded to the server in a web form. This feature was added in dotDefender for Linux version 3.85.
- Open the dotDefender interface and browse to the Security Profile of the domain.
- Select Settings.
- Open the Whitelist category.
-
Add a new rule with the following parameters:
- Filter: SecFilterSelective
- Location: FILES_NAMES
- Keyword: ^.*\.(php|cfm)$
- Action: Deny
- Press the Add button.
- Return to the main page and press the Refresh setting button for changes to take effect.
