vbauer / manet

Website screenshot service powered by Node.js, SlimerJS and PhantomJS
MIT License
575 stars 102 forks source link

Api key or other security mechanism? #41

Closed jeff1985 closed 8 years ago

jeff1985 commented 8 years ago

Is there an easy way to secure the webservice with an api key or username/password? I feel very uncomfortable by exposing the control over a fully functional webbrowser to anyone who is smart enough to guess the port number...

vbauer commented 8 years ago

I've just added support of "Basic" auth (https://github.com/vbauer/manet/commit/da8048fecaa69fda050ff1a0c17f41c4eb0445df), you can add another security mechanism. I'm open for pull requests.

In the nearest future I'll update README and add more unit tests.

jeff1985 commented 8 years ago

Wow thats great! Basic auth is absolutely enough for my purposes. Will the new version be available with npm soon or will i need to build from source?

vbauer commented 8 years ago

I hope release 0.4.6 will be ready before the end of this week.

jeff1985 commented 8 years ago

ok, thats great!

vbauer commented 8 years ago

@jeff1985 NP :)

vbauer commented 8 years ago

@jeff1985 0.4.6 version has been released.

JFYI: Minimum version of NodeJS is 4.0.