Skip to content
Discussion options

You must be logged in to vote

Hey, I am a little bit confused about your goal? Do you want to change the default CSP? Do you want to change the example CSP from our security docs?

The default CSP value in Tauri is null which means no CSP is enabled or enforced by default (which may change in the future).
The CSP example in our security docs does allow a little bit more than just the absolute minimum but no unsafe-inline except for styles.

Speaking about XSS (cross site scripting), that it is an attack vector we assume and considered when building Tauri. Our security model tries to empower developers to only provide the absolute minimum permissions to the frontend code in term of system access. Since Tauri does support…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@vednig
Comment options

@tweidinger
Comment options

@tweidinger
Comment options

@vednig
Comment options

@tweidinger
Comment options

Answer selected by tweidinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants