Forum Discussion
Prevent end-user from uploading malicious file types
We recently performed penetration testing and found several vulnerabilities including the issue with unrestricted file upload that pose significant risk.
Is there a configuration in Power BI Report Server to use a whitelist method to prevent end-user from uploading malicious file type like .exe, .py, etc.?
Thanks.
6 Replies
- Jon-HeideMicrosoft Employee
Yes, this is whitelisted under the TrustedFileFormat property, editable through SQL Management Studio when you connect to the PBIRS instance.
- Jon-HeideMicrosoft Employee
You can also use server permissions to disallow users from uploading content in general.
- yntRegular Visitor
- yntRegular Visitor
Jon-Heide wrote:
Yes, this is whitelisted under the TrustedFileFormat property, editable through SQL Management Studio when you connect to the PBIRS instance.
This setting does not prevent user from downloading/uploading malicious file typesTrustedFileFormat Set all the external file formats that open within the browser under the Reporting Services portal site. External file formats not listed prompts to download the option in the browser. The default values are jpg, jpeg, jpe, wav, bmp, pdf, img, gif, json, mp4, web, png.