motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.79k stars 317 forks source link

Add security layer #315

Open 11ume opened 6 years ago

11ume commented 6 years ago

Hi, I wanted to know if it is possible to implement a security layer with Janus? for example this package: https://github.com/unrolled/secure It would be interesting to implement a query analysis layer to prevent SQLinjection, create security homogenous logic for all services, and abstract from implementing this logic in them.

What would be the best way, create a plugin and adapt it to Janus?