{"id":15371577,"url":"https://github.com/stevehobbsdev/isolated-local-storage","last_synced_at":"2026-03-19T07:12:02.584Z","repository":{"id":37915214,"uuid":"216036119","full_name":"stevehobbsdev/isolated-local-storage","owner":"stevehobbsdev","description":"An example of storing values in local storage on a different origin","archived":false,"fork":false,"pushed_at":"2022-12-11T09:54:49.000Z","size":107,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T20:16:00.988Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevehobbsdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-18T13:58:26.000Z","updated_at":"2022-06-27T10:53:36.000Z","dependencies_parsed_at":"2023-01-26T20:31:22.977Z","dependency_job_id":null,"html_url":"https://github.com/stevehobbsdev/isolated-local-storage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevehobbsdev%2Fisolated-local-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevehobbsdev%2Fisolated-local-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevehobbsdev%2Fisolated-local-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevehobbsdev%2Fisolated-local-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevehobbsdev","download_url":"https://codeload.github.com/stevehobbsdev/isolated-local-storage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239929533,"owners_count":19720153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T13:47:47.590Z","updated_at":"2026-01-25T20:55:06.026Z","avatar_url":"https://github.com/stevehobbsdev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Isolated Local Storage Example\n\nAn example of how to perform local storage access isolated by origin. It uses a hidden iframe to marshal access to local storage to store (fictional) token values.\n\nThe sample starts two Express servers running on two different origins: `http://localhost:4001` (app) and `http://localhost:4002` (private). The app communicates with the private origin through the iframe to perform read and write operations on local storage.\n\n## Running the app\n\nTo start both the app and the \"private\" origin, run:\n\n```\nyarn start\n```\n\nThen [open your browser at http://localhost:4001](http://localhost:4001) to view the app.\n\n## Reference\n\nhttps://pragmaticwebsecurity.com/talks/browsersecrets.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevehobbsdev%2Fisolated-local-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevehobbsdev%2Fisolated-local-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevehobbsdev%2Fisolated-local-storage/lists"}