DioxusLabs / DioxusLabs/dioxus

Increase CSP level to match tauri

Open
#2,713 0 comments 1 reaction 0 assignees View on GitHub
desktop security
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## Feature Request

https://tauri.app/v1/references/security#secure-content-loading

I'm not clear if we do this already or not, but we should definitely set up stricter asset loading CSP. While it may be convenient to load scripts from the arbitrary internet, we don't do a great job of educating developers that they *shouldn't* for native apps.

Even though the JS is running in a sandbox, that doesn't preclude any scripts from attempting to load resources from the system.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.