class cloud storage • Fastly is a world class edge cloud platform • Backblaze and Fastly have been partners since 2020 • Free Egress! No cost for moving data between Backblaze B2 and Fastly • Backblaze B2 storage costs 1/5th of other world class cloud storage vendors +
as is enabling access to the data • Customers come to Backblaze B2 to for durability and reliable access • Backblaze B2 supports: ◦ Public buckets ◦ Private buckets • Public buckets are excellent for data that allows anonymous access • Private buckets require systems for authentication and authorization in order for contents to be accessed +
◦ Article: Simplifying authentication with OAuth at the edge https://www.fastly.com/blog/simplifying-authentication-with-oauth-at-the-edge • Use Cases ◦ Article: Building on top of OAuth at the edge https://www.fastly.com/blog/building-on-top-of-oauth-at-the-edge ▪ Paywalls and other advanced authorization decisions ▪ Granular access control for static content ▪ Upgrading access with incremental authorization ▪ Blocking abusive users
Demo URL • https://b2-rbac.edgecompute.app/ Github.com - Proof of Concept Application • Project: Role-Based Access Control at the Edge https://github.com/backblaze-b2-samples/fastly-compute-rust-rbac
startup times and high vCPU code execution Scalable Runs globally at all Fastly POPs Secure Full isolation for each request Fast execution close to end users Instant global deployment
For best performance and manageability, this access security architecture: • Provides authorization close to the end-user – fast and distributed • Is isolated from the rest of the system - autonomous • Is implemented and maintained by security professionals – secure • Is easy to integrate with existing and future applications
Role-Based Access Control to resources in Backblaze B2 ◦ authN - Authentication • Login via Okta as IdP using OpenID Connect • authZ - Authorization ◦ Implemented in Fastly Compute (serverless edge) ◦ Rules: ▪ Allow read access to files in the “root” of the B2 bucket to any authenticated user (thru group Everyone) ▪ Allow additional read access to files in B2 bucket “subdirectories” based on group membership and where the group name matches a subdirectory’s name
experience view ◦ In web browser ◦ Console open for developer view of cookies • Fastly CLI ◦ Console open for developer view of log-tail including: ▪ stout and stderr output ▪ Near real-time
Demo URL • https://b2-rbac.edgecompute.app/ Github.com - Proof of Concept Application • Project: Role-Based Access Control at the Edge https://github.com/backblaze-b2-samples/fastly-compute-rust-rbac