node.js - How do I password protect a subdirectory of a Harp.js app -


how password protect subdirectory in harp site (running under node)?

i want basic auth single folder, not whole site.

if you're using harp through command line, running harp server can't because it's static file server , can't server-side coding.

you'll have switch express (here's how use basicauth it). can still use harp (as static server, using before) within express (as middleware). or can use express static


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -