Scanning files before being uploaded in Salesforce via REST API
Through our custom build portal application (Non Salesforce), we intend to upload files onto Salesforce Files/Content Document. We will be exposing Salesforce out of the box REST API's for this upload. Before this upload of files into Salesforce, we would like the file to scanned using F-secure.
Wanted to check when F-Secure will actually scan the document. Ideally we want to scan the document before upload into Salesforce and if possible also provide an on-line update to the user with the API response that the file upload has been unsuccessful just in case a malware is detected.
We have F-Secure Cloud Protection for Salesforce solution (https://www.f-secure.com/en/web/business_global/cloud-protection-for-salesforce), which can analyze files and URLs uploaded to or downloaded from Salesforce platform. Even if you upload files via Salesforce REST API, F-Secure app will be able scan content and take the action defined in the application settings. Due to the nature and limitations of Salesforce platform, you will not be able to get the scan result before the file is actually uploaded. However, I think you should be able to check the status of the file afterwards--if it is found harmful or malicious, it will be removed.
Hope this helps,