question

PingpongSet avatar image
0 Votes"
PingpongSet asked 00609326 edited

Virus Scanning on uploaded file to Azure Block Storage via Azure Web App as of 2020

My project needs to perform virus scan on uploaded files via Azure AppService web app. Files will be stored in Azure Block Storage if they are cleaned. Otherwise, they are rejected to users.

My question: How should I implement this, does Azure provide built-in anti-virus scan?

https://stackoverflow.com/questions/32567922/virus-scanning-uploaded-files-from-azure-web-worker-role

azure-webappsazure-storage-accounts
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sam-Cogan avatar image
1 Vote"
Sam-Cogan answered

Azure does not provide built in virus scanning for Azure Blob storage. If you require this you will need to implement a solution yourself.
There are third party products such as Sophos and Trend that can do this for you, or you can create something yourself using tools like Azure Functions or Azure Container Instances, here is an example of this.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SumanthMarigowda-MSFT avatar image
1 Vote"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT edited

@PingpongSet At this moment, this option isn't available . You'd may use 3rd party or build one yourself. In the future, you'll be able to use https://docs.microsoft.com/en-us/azure/security-center/threat-protection
You can look into Threat protection for Azure Storage article

Configure advanced threat protection for Azure Storage : Advanced threat protection for Azure Storage provides an additional layer of security intelligence that detects unusual and potentially harmful attempts to access or exploit storage accounts. This layer of protection allows you to address threats without being a security expert or managing security monitoring systems

There is a bit older thread "Virus Scan File Uploads Using Multi-Container Web App", which ca help you in this scenario and provide some idea.

If you are looking out for this feature, If you wish you may leave your feedback here All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.


Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


Hope this helps! Kindly let us know if the above helps or you need further assistance on this issue.


Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.



· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@PingpongSet Just checking in to see if the above answer helped. If this answers your query, please don’t forget to "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

1 Vote 1 ·

@PingpongSet Just checking in to see if the above answer helped. If this answers your query, please don’t forget to "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

1 Vote 1 ·

Howdy,

https://feedback.azure.com/forums/217298-storage%60

That link 404s

Is there some other place we should go to leave feedback?

Thanks,

Todd

0 Votes 0 ·

@PingpongSet Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused. We will be moving away from UserVoice feedback sites on a product-by-product basis throughout the 2021 calendar year.

140492-image.png

Uservoice page: https://support.microsoft.com/en-gb/office/uservoice-pages-430e1a78-e016-472a-a10f-dc2a3df3450a


Please do not forget to 140484-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 Votes 0 ·
image.png (16.6 KiB)
image.png (1.1 KiB)
ToddOgin-4266 avatar image ToddOgin-4266 SumanthMarigowda-MSFT ·

Howdy,

That does not really answer my question. In this case, which of the four options is appropriate?

Todd

0 Votes 0 ·
00609326 avatar image
0 Votes"
00609326 answered 00609326 edited

There is an open source solution my team implemented, you can check it out here: azure-storage-av-automation


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.