|
Scan Attachments For Viruses / Сканируем аттачи на вирусы
That extension automatically zips files. Some users were concerned that this may allow a malicous user to upload a virus/trojan since the extension allows any file to be added to the archive. If you currently allow zip files to be uploaded, then the risk is already present with or without my zip extension.
I decided to write up this product that will scan all files uploaded (including archives) for viruses.
REQUIREMENTS:
Linux/Unix Server. Although it may be possible to run this on a Windows server, I have not tested it, and am unsure if it will work on that enviroment.
This extension REQUIRES that you install F-Prot on your server. All you really need is the command line scanner for workstations. The install is simple and does not require any compilation (at least it did not for me). You download the archive to your server, and un-tar it to a directory that VB will have access to. This does NOT require root access as no system files are modified. F-Prot is free for personal use, but your requirements may require a purchase. Please read the F-Prot license agreement for more details.
Safe Mode must be off. PHP must have access to the system command.
INSTALLATION
Installation of the product is simple, just install the product file in the admincp and then go to VBulletin Options -> Virus Scanning. Enter the COMPLETE path to F-Prot. For example:
/home/yoursite.com/www/somefolder/f-prot/f-prot
Please note, the name f-prot must be at the end of the path. This is the FILE NAME not the directory name.
|