Virus protection online
The virus detection engine scans the file. If a virus is found, the virus engine sets a property on the file indicating that it's infected. What happens when a user tries to download an infected file by using the browser? If a file is infected, users can't download the file from SharePoint Online by using the browser. Here's what happens: