© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
10 replies
ekrbodo

RichEditor S3 private visibility

If you are uploading attatchments with RichEditor and are using private visbility, the whole url, including the expire signature is included in the url. This will cause the url-link to expire after a while. I guess this is a bug, but i haven´t debuged the Filament intrnals.

Form input example:
  RichEditor::make('description')
                ->label('Beskrivelse')
                ->columnSpanFull()
                ->fileAttachmentsDisk('s3')
                ->fileAttachmentsDirectory(Filament::getTenant()->id . '/' . 'tasks')
                ->fileAttachmentsVisibility('private'),
  RichEditor::make('description')
                ->label('Beskrivelse')
                ->columnSpanFull()
                ->fileAttachmentsDisk('s3')
                ->fileAttachmentsDirectory(Filament::getTenant()->id . '/' . 'tasks')
                ->fileAttachmentsVisibility('private'),


Url stored in the text-field:
https://yourS3path.amazonaws.com/path/sub-path/filename.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=randomnumnber%2Feu-north-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T135351Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Signature=randomsignature

Is there any workaround to get this working, or should it be reported as a bug?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

S3 visibility
FilamentFFilament / ❓┊help
3y ago
FileUpload visibility('private') and original filenames
FilamentFFilament / ❓┊help
10mo ago
Display a Private File From S3
FilamentFFilament / ❓┊help
3y ago
Spatie Medialibrary private files on s3
FilamentFFilament / ❓┊help
3y ago