Consider the following:
- Ensure SMB over TLS by verifying that clients connecting to the file share support use SMB 3.x.
- Restrict access by using firewall rules to allow access only from trusted IPs.
- Enable Azure Defender for Storage. This helps monitoring and detecting threats like unusual access patterns and potential ransomware attacks.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin