Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

Drupal and ClamAV Integration for Scanning Upload Files

Parent Feed: 

Drupal and ClamAV Integration for Scanning Upload Files

This article was published in the print magazine Drupal Watchdog, Volume 6 Issue 3, , on page 8, by Linux New Media.

If your website needs to allow visitors to upload files that may later be downloaded by other visitors, then your site should definitely be checking those files to verify that they do not contain any viruses or other malevolent code. Fortunately, using the ClamAV module, you can add the open source ClamAV antivirus software to your site. The module documentation briefly explains how to install the virus scanner if you have control over the server. (For shared hosting, you would need to request the web hosting company to install it for you.) The module will examine every file that users try to upload, and if the ClamAV scanner detects malicious code, the file will not be saved on the server.

Copyright © 2016 Michael J. Ross. All rights reserved.
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web