Does anyone know how to create a login form prompting a user to enter a password by coding rather than using the tools, security?

I would greatly appreciate all help.
Thank you