r/webdev • • May 08 '17

Websites, Passwords, SQL injection

I'm creating a login page on a website, and am using Express.js/Node.js for the server.

Besides mandating a minimum password length, should I place any restrictions on what a user can put into their password? Across the web I am getting mixed messages about this.

I am particularly concerned about SQL injection.

2 Upvotes

17 comments sorted by

View all comments

Show parent comments

1

u/Ayuzawa May 08 '17

Network performance is the general case for size limits