On Monday 26 July 2004 11:46 am, Suril Patel wrote:

> Hi,
>
> I am on FreeBSD and want to put a form on my website whereby visitors can
> send a message plus a CV attachment (probably in MS Word format).

Why not insist on a vendor-neutral format, such as pdf?   Not everyone can 
read MS Word, and there are mutliple versions, which can show very different 
results depending on which version of the application they're opened with.

> The tricky part is that the attachment will be saved on the server AND
> forwarded onto a third party recipient by e-mail.
>
> I already have the scripting in place for all this to work (normal html
> FORM + PHP) except without virus checking. I am worried that someone will
> upload a virus, which will leave a copy on the server and forward it to the
> other person (getting me in trouble).
>
> I have currently got no AV installed and want to know if installing ClamAV
> will let me call the virus scanner from a PHP script during the upload
> process and reject/accept the attachment based on the results.

Yes - you could call "clamscan $filename" before deciding whether to store & 
forward the file, or you could use one of the standard email-plugin 
techniques to filter all outbound email through ClamAV before delivering it.

I think the former would be simpler and the best solution.

Regards,

Antony.

-- 
90% of networking problems are routing problems.
9 of the remaining 10% are routing problems in the other direction.
The remaining 1% might be something else, but check the routing anyway.

                                                     Please reply to the list;
                                                           please don't CC me.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to