-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication Support #5
Comments
Hi Martin, We don't do any client certificate validation on the WWW endpoint, right? The only thing we want to ensure is that people use TLS when connecting to the service, so that JWTs never go over the line in unencrypted form. I'd rather see that logic for enforcing TLS, doing HTTP redirects to a login service to request tokens, etc. etc. is handled through separate services. For example, when running web services on Kubernetes clusters, it's pretty common to use ingress controllers to enforce exactly that. Envoy is a commonly used tool for doing that kind of stuff. |
Sure, TLS client authentication would be pointless for such a web service, especially considering that, as you pointed out, the service would probably be deploy behind a proxy anyway.
Agreed, there is no point in reimplementing all this in |
Exactly. The only thing we have to be careful of in the long run is that if bb-browser were to be configured to also do local caching of blobs, accessing a cached blob would allow you to bypass authentication. We'd need to add some logic to bb-browser to deny accessing cached data in case of the first visit. That said, irrelevant at this point in time. |
I've just submitted #6 for server-side TLS support in HTTP credential forwarding will have to be implemented in |
This requires us to access headers in the HTTP request, right? BlobAccess would not have any access to that, I suppose. The easiest thing to do right now would be to add some utility function to |
Indeed, |
#7 has landed, thanks to @EdSchouten; closing. |
Continuation of buildbarn/bb-storage#2:
bb-storage
is gaining authentication support and in order for that to be useful,bb-browser
also should. That would require supporting TLS at the web endpoint and credential forwarding to backend storage when possible I believe.The text was updated successfully, but these errors were encountered: