Forum Discussion
1 Reply
- rmcfatterNew Contributor
Turns out that's a configurable setting. "*.sh" is one of the default patterns in Admin -> General -> Restricted Files. You can remove that pattern to enable reviews of .sh files.
Presumably this restriction is protection against someone uploading a malicious shell script and getting people to execute it instead of just view it; the other files restricted by default are *.bat, *.exe, *.msi, and *.dmg.
There are still three problems here: First, that this security measure isn't very useful-- if you've got people uploading malicious files to reviews, or browsers/users who would launch any executable content they display, you've got bigger problems. Second, the client's enforcement of this rule is entirely silent-- the user has no idea that some files were excluded, so critical errors might leak into your product. Finally, the GUI's error message for this case is "Unsupported Media Type", which is misleading ("Restricted" != "Unsupported").
Related Content
- 3 years ago
- 2 months ago
- 3 months ago
- 2 years ago
Recent Discussions
- 27 days ago