How to create a login form in html without using php. I’m doing this for an administrator account so that the admin information cannot be found on a database.
Any idea on how to do it?
How to create a login form in html without using php. I’m doing this
Share
Technically you could use an htaccess and htpasswd file combination to handle authentication, but it’s not very secure, if at all (HTTP BASIC authentication is insecure…). That would secure all of the files in the directory that the .htaccess file resides in (the .htpasswd file can (and should) be in a non-accessible directory by the web server).
Again, I VERY strongly advise you to NOT go this route.