Added by ramdhyani 12 days ago
i am using lighttpd 1.4.76
how do i restrict the number of characters entered by the user in username and password field to 20 in the login prompt, when asked for credentials.
lighttpd is a server.
Your question pertains to the client side. Please use a search engine for how to write HTML forms to set field size.
For security, you should also check the form input on the server side, using your own custom script, since a malicious actor could bypass your client-side HTML.