Add possibility to add Content-Security-Policy header to deployment #7

Open
opened 2025-11-29 22:17:41 +01:00 by leon · 1 comment
Owner

e.g. by reading adding a .csp file which gets read and set by the pages server

e.g. by reading adding a `.csp` file which gets read and set by the pages server
Author
Owner

If this file does not exists, there should be a default policy of default-src 'self' 'unsafe-inline'.

Maybe also remove 'unsafe-inline'? This would prevent token stealing mechanisms?

If this file does not exists, there should be a default policy of `default-src 'self' 'unsafe-inline'`. Maybe also remove `'unsafe-inline'`? This would prevent token stealing mechanisms?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon/Forge-Pages#7
No description provided.