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

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -