Project

General

Profile

[Solved] Restrict the number of entered characters to 20, in username and password field.

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.


Replies (1)

RE: Restrict the number of entered characters to 20, in username and password field. - Added by gstrauss 12 days ago

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.

    (1-1/1)