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 input and enforce password restrictions #27

Open
mrhappyasthma opened this issue Jan 12, 2020 · 1 comment
Open

Sanitize input and enforce password restrictions #27

mrhappyasthma opened this issue Jan 12, 2020 · 1 comment

Comments

@mrhappyasthma
Copy link

The current code doesn't really do any checking at all. We should enforce username and password length limits, restrict their characters (e.g. exclude spaces), and protect against malicious inputs (e.g. trying to manipulate the SQL query based on their input.)

We can check some of this on this end, but we should probably add checks to Darkstar connect server as well.

@mrhappyasthma
Copy link
Author

Filed a related bug on the Darkstar project: DarkstarProject/darkstar#6368

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