Jump to content

Virus Scan the file while uploading


beboo002

Recommended Posts

 

Hello freaks,

 

How can I scan file when user upload files. Is it possible!

 

  I have no idea to do this.

 

  Please suggest me any path or clue or any web link or tutorial for scan file while uploaded in PHP.                                      Currently I am using php4.4.7

 

Thanks & Regard

 

Beboo

 

Link to comment
https://forums.phpfreaks.com/topic/117297-virus-scan-the-file-while-uploading/
Share on other sites

The real question is: How will you interface with your AV?

 

The rest is easy

first perform the usual security checks, size allowed etc..

Allow uploading to a temp

setup a cron that every (for example: hour)

will trigger the AV check

if ok upload to final destination, if not del and ban sender

 

if any one knows how to trigger an AV selective search then you will be all set :)

Thanks for reply

 

I have all the check applied you have mention except  this

 

How can I apply this:-

 

will trigger the AV check

if ok upload to final destination, if not del and ban sender

 

if any one knows how to trigger an AV selective search then you will be all set

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.