Google News
logo
JavaScript IndexedDB - Interview Questions
What are the cross-domain rules that govern IndexedDB?
We can have many databases with different names, but all exist within the current origin (domain/protocol/port). Different websites cannot access each other’s databases.

Some novice programmers may attempt to access the database within an ‹iframe›, but this approach does not meet the recommendation, because it is insecure.
Advertisement