Skip to content

[feat] allow changing the CSP before it gets injected into the webview #3533

@lucasfernog

Description

@lucasfernog

Describe the problem

Some applications needs to connect to user-provided URLs, and to keep it secure, Tauri should allow developers to extend the CSP string at runtime.

Describe the solution you'd like

Add a runtime API to change the CSP string.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions