xiloader icon indicating copy to clipboard operation
xiloader copied to clipboard

Sanitize input and enforce password restrictions

Open mrhappyasthma opened this issue 5 years ago • 1 comments

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 avatar Jan 12 '20 19:01 mrhappyasthma

Filed a related bug on the Darkstar project: https://github.com/DarkstarProject/darkstar/issues/6368

mrhappyasthma avatar Jan 12 '20 19:01 mrhappyasthma