andrejewski / smithsonian

web interface for Metalsmith
ISC License
36 stars 1 forks source link

Feature request: authentication #3

Closed diroru closed 8 years ago

diroru commented 8 years ago

Hello, first of all, thanks for the great plugin!

As you may have already guessed, i am looking for a way to have some protection around the web interface. Maybe it exceeds the scope of the project?

Your insights would be greatly appreciated!

Cheers, dimitar

andrejewski commented 8 years ago

Authentication is out of the scope of this project, but it is quite easily to have any authentication mechanism you desire in front of Smithsonian. Any Express compatible middleware will do, such as basic auth. See Smithsonian.router() for using Smithsonian inside of Express applications.

diroru commented 8 years ago

Thanks a lot, duly noted & much appreciated!