0

I used .htpasswd for access control on my webpage(HTML/JS). Now I want to get the input of username in htpasswd window. Any suggestion?

northtree
  • 8,569
  • 11
  • 61
  • 80

1 Answers1

0

You could create a server-side script that knows how to interpret XHR POST requests and pass them into htpasswd, but people implement their own session management for a reason.

quodlibetor
  • 8,185
  • 4
  • 35
  • 48