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

Security #52

Open
tosuke opened this issue Jun 25, 2023 · 4 comments
Open

Security #52

tosuke opened this issue Jun 25, 2023 · 4 comments

Comments

@tosuke
Copy link
Owner

tosuke commented Jun 25, 2023

Cookie や localstorage を経由して他のアーティファクトから展開されたサイトの中身状態が見えてしまう

@tosuke
Copy link
Owner Author

tosuke commented Jun 25, 2023

これを解決する方法は適当なドメインを取得して *.example.com に適当な id を付与して展開すること
しかし example.com を eTLD にしないと Domain=example.com な Cookie を作れて送れてしまう
インディーズの eTLD を PSL は受け入れてくれるのか?

@tosuke
Copy link
Owner Author

tosuke commented Jun 25, 2023

よく考えると今のところ静的サイトしか展開できないので eTLD でなくても問題はないのかもしれない
js からでも Cookie は触れるでしょ

@tosuke tosuke pinned this issue Jun 25, 2023
@tosuke
Copy link
Owner Author

tosuke commented Jun 25, 2023

技術的な課題としては

  • wildcard domain をサポートするホスティングの方法
  • 適切な Service Worker の注入方法

@tosuke
Copy link
Owner Author

tosuke commented Jun 25, 2023

開発もまあまあ困るな

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

No branches or pull requests

1 participant