Skip to content
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

SI: Update example Module/Entities classes to have security in the setters #50

Open
WillStrohl opened this issue Mar 12, 2020 · 0 comments
Labels
sponsors welcome The effort required would make a sponsor the ideal approach to closing this issue.

Comments

@WillStrohl
Copy link
Contributor

Is your feature request related to a problem?

When accepting user input values, it's a best practice to clean them by running the value through the PortalSecurity.InputFilter() method. We should just add that to the setters in the template so that the module will automatically be more secure by default. If someone needs to adjust it, they can lower the security level of the flag or remove it.

@WillStrohl WillStrohl changed the title Update example Module/Entities classes to have security in the setters SI: Update example Module/Entities classes to have security in the setters Mar 12, 2020
@WillStrohl WillStrohl added the sponsors welcome The effort required would make a sponsor the ideal approach to closing this issue. label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sponsors welcome The effort required would make a sponsor the ideal approach to closing this issue.
Projects
None yet
Development

No branches or pull requests

1 participant