-
Notifications
You must be signed in to change notification settings - Fork 0
File types will be restricted to only those that are necessary for business functionality. #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
https://docs.ckan.org/en/2.9/maintaining/configuration.html?highlight=xml#datapusher-settings. While it is possible to define the file format, it doesn't seem like there is a native way to block unwanted extensions from being uploaded, will continue investigation |
@A-Souhei what about using some sort of validator? We could add this as part of our fileupload JS code... but is there something built into CKAN too? |
@ChasNelson1990 We can probably use a combination of an existing extension like scheming with a custom validator. Although I am not sure how to do it clearly, it should be possible, I'll investigate more. |
May be https://github.com/data-govt-nz/ckanext-security ? Or overkill ? |
Wow, this really was a great find. I would 100% be interested in reading more and maybe trying this extension out. |
This came from a WHO Cybersecurity requirement - it may not be needed for ZaRR. |
File types will be restricted to only those that are necessary for business functionality.
Relates #36
The text was updated successfully, but these errors were encountered: