Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox iframes #34

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Sandbox iframes #34

merged 1 commit into from
Jan 4, 2025

Conversation

TodePond
Copy link
Collaborator

@TodePond TodePond commented Jan 4, 2025

This prevents things like alert abuse, and networking to external naughty things, and a lot more.

It will prevent some kinds of desired features, eg: importing external libraries. but we can always add exceptions for things like that.

Fixes #7


For those wondering, using the sandbox attribute flips how iframe permissions work. By default, everything is disallowed, and you have to specify what things you do allow.

There's a chance this breaks some things, so we should keep an eye on any bugs

@TodePond TodePond merged commit 51674de into main Jan 4, 2025
@TodePond TodePond mentioned this pull request Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sandbox
1 participant