To stay updated on your favorite discussions, please create an account or log in. Then, click the Bookmark icon to subscribe and receive notifications.

Scanning files before being uploaded in Salesforce via REST API

Ashish1 W/ Alumni Posts: 1 Security Scout

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. 


  • Dmitriy
    Dmitriy W/ Alumni Posts: 179 Threat Terminator



    We have F-Secure Cloud Protection for Salesforce solution (, 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,



This discussion has been closed.