Has anyone successfully used .htaccess and .htpasswd to protect access to their projects? I really like HyperDev but I don’t want the world to see my creations just yet, so I’d like to protect with basic authentication. Any guidance on doing so will be much appreciated. I know how to create these files, just not sure where to put them on HyperDev systems. Thanks!
htaccess is an Apache web server config, whereas HyperDev runs Node JS. You might want to look into options like https://www.npmjs.com/package/basic-auth or adding authentication with Express - http://blog.modulus.io/nodejs-and-express-basic-authentication.
You can lock down viewing of the code by setting the project to private under Advanced Options from the top-left menu. But, since we don’t automatically index and publish a list of projects, unless you share the URL it’s unlikely to be seen.