3 ms·
No security layer though right? Meaning if we want to restrict access to certain content based on user token or something, how to do that with Varnish? How to p
by fraggle222 10y ago
No security layer though right? Meaning if we want to restrict access to certain content based on user token or something, how to do that with Varnish? How to prevent John from reading Mary's tweets?
- lmz 10y agoIt's fully programmable. You can probably make it verify the user token and URL against a database.
- fraggle222 10y agoReally? I don't see much in the docs about this except https://www.varnish-cache.org/docs/4.1/users-guide/vcl-inline-c.html https://www.varnish-cache.org/docs/4.1/users-guide/vcl-inlin... They seem (at first glance) to have no concept of security in the sense of restricting people's access to certain content like in the case of all social networks.
- lmz 10y agoIt's extensible in C, and modules (http://www.varnish-cache.org/vmods/ http://www.varnish-cache.org/vmods/) are available to talk to e.g. Redis.