After an on-access scan policy is configured, antivirus servers scan for viruses in CIFS-based shared files that meet the scan policy when the files are opened or closed.