SlideShare a Scribd company logo
1 of 27
Download to read offline
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
10. 11. 23
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
Dora Militaru
Developer Relations Engineer
Fastly
Greg Hamer
Principal Developer Evangelist
Backblaze
Trust in Every Byte
Securing Edge Workflows with Fastly Compute
+
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23 20
Agenda
● Backblaze + Fastly
Together
● OAuth/OIDC Overview
● Introduction to the Sample
Application
● Demonstration
○ End User Experience
○ Application Logic
(Fastly Compute)
● Questions & Answers
BACKBLAZE TECH DAY ‘23 21
● Backblaze B2 is world 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
+
BACKBLAZE TECH DAY ‘23 22
● Data security is imperative, 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
+
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
Central Challenge:
Serving data out of a private bucket
Private
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
Central Challenge:
Serving data out of a private bucket
Solution:
Federated login
Private
BACKBLAZE TECH DAY ‘23 25
Application Overview
● Cloud native
○ Backblaze B2
○ Fastly
○ Okta
● Source code on Github including detailed README.md
● Application is simple but infinitely scalable
○ 2 users
○ 2 groups
○ 2 secure documents
○ 1 key pair for bucket access
● Serverless Fastly Compute
● UI via a simple JavaScript single-page application (SPA)
BACKBLAZE TECH DAY ‘23 26
Resources
Documentation + Source Code
● Reference Architecture
● Use Cases
● Proof of Concept Application
BACKBLAZE TECH DAY ‘23 27
Resources
Fastly.com
● Reference Architecture
○ 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
BACKBLAZE TECH DAY ‘23 28
Resources
Shared Link
● bit.ly/edge9
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
BACKBLAZE TECH DAY ‘23 29
Fastly Network Map (2023 September)
277 Tbps
Global Edge
Capacity
As of 06/30/2023
BACKBLAZE TECH DAY ‘23 30
Fastly Compute
Performant
100x faster 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
BACKBLAZE TECH DAY ‘23 31
Fastly’s Edge Cloud Platform
Benefits of Compute running on Fastly:
● Faster request-response performance
● Caching
● DDoS and WAF
● Realtime observability, metrics and monitoring
● Logging
BACKBLAZE TECH DAY ‘23 32
#1 most critical web application security risk in 2023:
Broken Object Level Authorization
#2:
Broken Authentication
Access Security
OWASP Top 10 API Security Risks – 2023 – https://owasp.org/API-Security/editions/2023/en/0x11-t10/
BACKBLAZE TECH DAY ‘23 33
Access Security and Fastly Compute
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
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
OAuth/OIDC Overview
BACKBLAZE TECH DAY ‘23 35
Roles in OAuth
Source: OAuth: When Things Go Wrong by Aaron Parecki, Okta Inc., Senior Security Architect
BACKBLAZE TECH DAY ‘23 36
Demo from End User Perspective
Demo Url: https://devweek2023-demo.edgecompute.app/
User Application Identity Provider
IdP
Origin
Fastly
Compute
Private
BACKBLAZE TECH DAY ‘23 37
Proxy Access via Fastly - Physical View
Our code is deployed to every Fastly POP.
Fastly routes requests to the closest POP
to the user.
Identity Provider Backblaze B2
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
Proof of Concept Demo
BACKBLAZE TECH DAY ‘23 39
Use Case in Demonstration
● 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
BACKBLAZE TECH DAY ‘23 40
Sample App Demo
● User 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
BACKBLAZE TECH DAY ‘23 41
Proof of Concept Demo
BACKBLAZE TECH DAY ‘23 42
Resources
Shared Link
● bit.ly/edge9
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
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
Q&A
BACKBLAZE TECH DAY ‘23
BACKBLAZE TECH DAY ‘23
Thank You

More Related Content

Similar to Trust in Every Byte - Securing Edge Workflows with Fastly Compute [Cloud Native! Open Source. OAuth OIDC]]

Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019Radulescu Adina-Valentina
 
Platform without vendor lock-in
Platform without vendor lock-inPlatform without vendor lock-in
Platform without vendor lock-inSakari Hoisko
 
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies Daniel Oh
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024Cloud Native NoVA
 
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...Ryan Koop
 
Solving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache ArrowSolving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache ArrowWes McKinney
 
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Flux’s Security & Scalability with OCI & Helm Slides.pdfFlux’s Security & Scalability with OCI & Helm Slides.pdf
Flux’s Security & Scalability with OCI & Helm Slides.pdfWeaveworks
 
Delivery Pipelines as a First Class Citizen @deliverAgile2019
Delivery Pipelines as a First Class Citizen @deliverAgile2019Delivery Pipelines as a First Class Citizen @deliverAgile2019
Delivery Pipelines as a First Class Citizen @deliverAgile2019ciberkleid
 
Heroku - A ployglot Platform (Add-on)
Heroku - A ployglot Platform (Add-on)Heroku - A ployglot Platform (Add-on)
Heroku - A ployglot Platform (Add-on)Ashish Tondare
 
Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...
Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...
Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...BLRDEVX
 
DataScienceLab2017_Блиц-доклад
DataScienceLab2017_Блиц-докладDataScienceLab2017_Блиц-доклад
DataScienceLab2017_Блиц-докладGeeksLab Odessa
 
Groovy-Powered Microservices with Micronaut
Groovy-Powered Microservices with MicronautGroovy-Powered Microservices with Micronaut
Groovy-Powered Microservices with MicronautZachary Klein
 
Velocity NY 2018 "The Cloud Native Developer Workflow"
Velocity NY 2018 "The Cloud Native Developer Workflow"Velocity NY 2018 "The Cloud Native Developer Workflow"
Velocity NY 2018 "The Cloud Native Developer Workflow"Daniel Bryant
 
Lightweight coding in powerful Cloud Development Environments (DigitalXchange...
Lightweight coding in powerful Cloud Development Environments (DigitalXchange...Lightweight coding in powerful Cloud Development Environments (DigitalXchange...
Lightweight coding in powerful Cloud Development Environments (DigitalXchange...Lucas Jellema
 
OSVR Client Application Design
OSVR Client Application DesignOSVR Client Application Design
OSVR Client Application DesignRyan A. Pavlik
 
DevOpsDays Taipei 2017 從打鐵到雲端
DevOpsDays Taipei 2017 從打鐵到雲端DevOpsDays Taipei 2017 從打鐵到雲端
DevOpsDays Taipei 2017 從打鐵到雲端Hung-Yen Chen
 
Big Query Basics
Big Query BasicsBig Query Basics
Big Query BasicsIdo Green
 
Fluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchiveFluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchivePaul Calvano
 
Apache Arrow: Open Source Standard Becomes an Enterprise Necessity
Apache Arrow: Open Source Standard Becomes an Enterprise NecessityApache Arrow: Open Source Standard Becomes an Enterprise Necessity
Apache Arrow: Open Source Standard Becomes an Enterprise NecessityWes McKinney
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 

Similar to Trust in Every Byte - Securing Edge Workflows with Fastly Compute [Cloud Native! Open Source. OAuth OIDC]] (20)

Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
 
Platform without vendor lock-in
Platform without vendor lock-inPlatform without vendor lock-in
Platform without vendor lock-in
 
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
 
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
 
Solving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache ArrowSolving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache Arrow
 
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Flux’s Security & Scalability with OCI & Helm Slides.pdfFlux’s Security & Scalability with OCI & Helm Slides.pdf
Flux’s Security & Scalability with OCI & Helm Slides.pdf
 
Delivery Pipelines as a First Class Citizen @deliverAgile2019
Delivery Pipelines as a First Class Citizen @deliverAgile2019Delivery Pipelines as a First Class Citizen @deliverAgile2019
Delivery Pipelines as a First Class Citizen @deliverAgile2019
 
Heroku - A ployglot Platform (Add-on)
Heroku - A ployglot Platform (Add-on)Heroku - A ployglot Platform (Add-on)
Heroku - A ployglot Platform (Add-on)
 
Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...
Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...
Architect Track Heroku - A Polyglot Platform [Architecture & Add-ons]By Ashis...
 
DataScienceLab2017_Блиц-доклад
DataScienceLab2017_Блиц-докладDataScienceLab2017_Блиц-доклад
DataScienceLab2017_Блиц-доклад
 
Groovy-Powered Microservices with Micronaut
Groovy-Powered Microservices with MicronautGroovy-Powered Microservices with Micronaut
Groovy-Powered Microservices with Micronaut
 
Velocity NY 2018 "The Cloud Native Developer Workflow"
Velocity NY 2018 "The Cloud Native Developer Workflow"Velocity NY 2018 "The Cloud Native Developer Workflow"
Velocity NY 2018 "The Cloud Native Developer Workflow"
 
Lightweight coding in powerful Cloud Development Environments (DigitalXchange...
Lightweight coding in powerful Cloud Development Environments (DigitalXchange...Lightweight coding in powerful Cloud Development Environments (DigitalXchange...
Lightweight coding in powerful Cloud Development Environments (DigitalXchange...
 
OSVR Client Application Design
OSVR Client Application DesignOSVR Client Application Design
OSVR Client Application Design
 
DevOpsDays Taipei 2017 從打鐵到雲端
DevOpsDays Taipei 2017 從打鐵到雲端DevOpsDays Taipei 2017 從打鐵到雲端
DevOpsDays Taipei 2017 從打鐵到雲端
 
Big Query Basics
Big Query BasicsBig Query Basics
Big Query Basics
 
Fluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchiveFluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP Archive
 
Apache Arrow: Open Source Standard Becomes an Enterprise Necessity
Apache Arrow: Open Source Standard Becomes an Enterprise NecessityApache Arrow: Open Source Standard Becomes an Enterprise Necessity
Apache Arrow: Open Source Standard Becomes an Enterprise Necessity
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 

Recently uploaded

Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 

Recently uploaded (20)

Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 

Trust in Every Byte - Securing Edge Workflows with Fastly Compute [Cloud Native! Open Source. OAuth OIDC]]

  • 1. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 10. 11. 23
  • 2. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 Dora Militaru Developer Relations Engineer Fastly Greg Hamer Principal Developer Evangelist Backblaze Trust in Every Byte Securing Edge Workflows with Fastly Compute +
  • 3. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 20 Agenda ● Backblaze + Fastly Together ● OAuth/OIDC Overview ● Introduction to the Sample Application ● Demonstration ○ End User Experience ○ Application Logic (Fastly Compute) ● Questions & Answers
  • 4. BACKBLAZE TECH DAY ‘23 21 ● Backblaze B2 is world 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 +
  • 5. BACKBLAZE TECH DAY ‘23 22 ● Data security is imperative, 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 +
  • 6. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 Central Challenge: Serving data out of a private bucket Private
  • 7. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 Central Challenge: Serving data out of a private bucket Solution: Federated login Private
  • 8. BACKBLAZE TECH DAY ‘23 25 Application Overview ● Cloud native ○ Backblaze B2 ○ Fastly ○ Okta ● Source code on Github including detailed README.md ● Application is simple but infinitely scalable ○ 2 users ○ 2 groups ○ 2 secure documents ○ 1 key pair for bucket access ● Serverless Fastly Compute ● UI via a simple JavaScript single-page application (SPA)
  • 9. BACKBLAZE TECH DAY ‘23 26 Resources Documentation + Source Code ● Reference Architecture ● Use Cases ● Proof of Concept Application
  • 10. BACKBLAZE TECH DAY ‘23 27 Resources Fastly.com ● Reference Architecture ○ 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
  • 11. BACKBLAZE TECH DAY ‘23 28 Resources Shared Link ● bit.ly/edge9 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
  • 12. BACKBLAZE TECH DAY ‘23 29 Fastly Network Map (2023 September) 277 Tbps Global Edge Capacity As of 06/30/2023
  • 13. BACKBLAZE TECH DAY ‘23 30 Fastly Compute Performant 100x faster 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
  • 14. BACKBLAZE TECH DAY ‘23 31 Fastly’s Edge Cloud Platform Benefits of Compute running on Fastly: ● Faster request-response performance ● Caching ● DDoS and WAF ● Realtime observability, metrics and monitoring ● Logging
  • 15. BACKBLAZE TECH DAY ‘23 32 #1 most critical web application security risk in 2023: Broken Object Level Authorization #2: Broken Authentication Access Security OWASP Top 10 API Security Risks – 2023 – https://owasp.org/API-Security/editions/2023/en/0x11-t10/
  • 16. BACKBLAZE TECH DAY ‘23 33 Access Security and Fastly Compute 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
  • 17. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 OAuth/OIDC Overview
  • 18. BACKBLAZE TECH DAY ‘23 35 Roles in OAuth Source: OAuth: When Things Go Wrong by Aaron Parecki, Okta Inc., Senior Security Architect
  • 19. BACKBLAZE TECH DAY ‘23 36 Demo from End User Perspective Demo Url: https://devweek2023-demo.edgecompute.app/ User Application Identity Provider IdP Origin Fastly Compute Private
  • 20. BACKBLAZE TECH DAY ‘23 37 Proxy Access via Fastly - Physical View Our code is deployed to every Fastly POP. Fastly routes requests to the closest POP to the user. Identity Provider Backblaze B2
  • 21. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 Proof of Concept Demo
  • 22. BACKBLAZE TECH DAY ‘23 39 Use Case in Demonstration ● 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
  • 23. BACKBLAZE TECH DAY ‘23 40 Sample App Demo ● User 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
  • 24. BACKBLAZE TECH DAY ‘23 41 Proof of Concept Demo
  • 25. BACKBLAZE TECH DAY ‘23 42 Resources Shared Link ● bit.ly/edge9 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
  • 26. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 Q&A
  • 27. BACKBLAZE TECH DAY ‘23 BACKBLAZE TECH DAY ‘23 Thank You