Answered by
mbostock
Oct 22, 2025
Replies: 2 comments
0 replies
|
We intentionally disallow FileAttachment access to the .observable directory as a security safeguard. The .observable folder is where credentials are stored for databases (databases.json); since you might be pulling in third party code in your notebook, it feels like a good idea to have some protection around access to credentials. If you want to access files from your notebook, you should put them in a different directory. (We haven’t yet implemented these safeguards in Notebook Kit directly, but we should.) |
0 replies
Answer selected by
ltostes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



We intentionally disallow FileAttachment access to the .observable directory as a security safeguard. The .observable folder is where credentials are stored for databases (databases.json); since you might be pulling in third party code in your notebook, it feels like a good idea to have some protection around access to credentials. If you want to access files from your notebook, you should put them in a different directory.
(We haven’t yet implemented these safeguards in Notebook Kit directly, but we should.)