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

Sanitize user inputs #45

Open
mariofrei opened this issue Apr 14, 2022 · 3 comments
Open

Sanitize user inputs #45

mariofrei opened this issue Apr 14, 2022 · 3 comments

Comments

@mariofrei
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
User inputs (e.g., participant ID, experiment ID) should be sanitized in order to prevent malicious SQL injections.

Describe the solution you'd like
Ideally, all inputs that are transferred to the database are sanitized in the Lambda function, i.e., special characters are removed.

Describe alternatives you've considered
-

Additional context
-

@mariofrei
Copy link
Collaborator Author

In addition, some special characters need to be excluded from measurement names, tag keys, and field keys:

@mariofrei
Copy link
Collaborator Author

Input sanitization has been implemented on the backend.
However, there should also be some feedback in the app UI that shows a warning when valid characters are used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant