|
|
|
|
|
by adeptima
499 days ago
|
|
Expand to OIDC and use session based mechanism with some kind of policy engine? Never saw a good example of how to implement a proper access to pdf or other downloadable documents. What is your approach? Any good code base in open source to learn from? |
|
Here’s a simple example using AWS S3 (or any S3-compatible storage) to generate a pre-signed URL for a PDF: https://github.com/pdfbolt/generate-s3-presigned-url
This works well for temporary document access in workflows like report generation, invoicing, and legal docs.