Storage Backend - Proxy Files #13171
shepherdjay
started this conversation in
Ideas
Replies: 2 comments 1 reply
This comment has been hidden.
This comment has been hidden.
-
Will review as a github discussion per contributing guidlines |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v3.5.4
Feature type
Change to existing functionality
Proposed functionality
Propose changing the way external files are provided back to user when STORAGE_BACKEND is in use. Currently when attempting to retrieve an image or file that was stored into a backend (for example GCP) the URL provided for GET request back to user is the storage_backend url. For example
https://storage.googleapis.com/mynetboxbucket/myimage.jpeg
Use case
Redirecting users directly to the storage backend adds complexity in permissions as not only do users require netbox permissions but they also require storage backend permissions to the bucket.
Instead if Netbox can fetch and then return the stored file to the user only netbox requires access to the bucket.
Database changes
No response
External dependencies
No response
Beta Was this translation helpful? Give feedback.
All reactions