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

Can other apps access my app's databases? #992

Open
CodeWithOz opened this issue Oct 27, 2021 · 0 comments
Open

Can other apps access my app's databases? #992

CodeWithOz opened this issue Oct 27, 2021 · 0 comments

Comments

@CodeWithOz
Copy link

WebSQL has a same-origin security model that normally prevents a webpage from accessing another webpage's websql databases. I'm curious to know how this is enforced in the cordova context given that app developers can set the webview to use a custom scheme and hostname. So if I use myapp://secure for instance, and another dev who wants to hack my app uses the same pattern for his malicious app, will his app get access to my app's databases if both are installed on a user's device?

This is part of a larger consideration of the type of sensitive info that can be saved in sqlite using this plugin.

Thanks!

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