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?
Asked
Active
Viewed 264 times
1 Answers
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