I have some application. User can upload files, i save it on disk, and return it, when user want. I need implement some protection for uploaded files for viruses. I found 3 solutions for this problem:
- Use online antiviruses
- Install antivirus on my server and check uploaded file from command line
- Integrate antivirus by sdk or api.
I don't like first solution, because i send my files and private info for other server. Second solution i think is best, but i don't know how correctly implement it. Last solution good, but i can't find any good and famous antiviruses, who has java api.
Please, give me some direction for solve this problem. Mb some advice or literature. What is best way for solve it?
0
= clean,1
= infected, or something else -check docs), and so on. – Aweless