Checked for duplicates
Yes
π§βπ¬ User Persona(s)
Security Engineer, System Administrator
πͺ Motivation
The current CloudFront S3 passthrough exposes directory listings to anyone who can reach the CloudFront URL. Short-lived JSON Web Tokens (JWTs) would mitigate the risk of unauthorized or automated crawling of exposed S3 directories by requiring a valid, time-limited token for access.
...so that the risk of bulk data harvesting or unauthorized enumeration of S3 contents is reduced without requiring a full authentication overhaul.
π Additional Details
- JWTs should be short-lived (configurable TTL)
- The token mechanism should integrate with the CloudFront distribution (e.g., Lambda@Edge or CloudFront Functions for validation)
- The S3 browser client should obtain and attach a valid JWT when making requests to the CloudFront passthrough
- This is a new security requirement for the CloudFront integration layer
Acceptance Criteria
Given a CloudFront distribution configured to require JWT validation
When a request is made to the S3 browser CloudFront passthrough without a valid JWT
Then the request should be denied
Given a valid, non-expired JWT
When the S3 browser makes a request using that token
Then directory contents should be returned normally
βοΈ Engineering Details
To be filled by engineering team
π I&T
To be filled by engineering team
Checked for duplicates
Yes
π§βπ¬ User Persona(s)
Security Engineer, System Administrator
πͺ Motivation
The current CloudFront S3 passthrough exposes directory listings to anyone who can reach the CloudFront URL. Short-lived JSON Web Tokens (JWTs) would mitigate the risk of unauthorized or automated crawling of exposed S3 directories by requiring a valid, time-limited token for access.
...so that the risk of bulk data harvesting or unauthorized enumeration of S3 contents is reduced without requiring a full authentication overhaul.
π Additional Details
Acceptance Criteria
Given a CloudFront distribution configured to require JWT validation
When a request is made to the S3 browser CloudFront passthrough without a valid JWT
Then the request should be denied
Given a valid, non-expired JWT
When the S3 browser makes a request using that token
Then directory contents should be returned normally
βοΈ Engineering Details
To be filled by engineering team
π I&T
To be filled by engineering team