Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
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.) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
When trying to import a file within the .observable subfolder of the project, Notebook Desktop isn't able to read it. It does work, however, when using preview. Is this intended?
I was initially using this subfolder to centralize database definitions and files I don't want to upload to Git. I understand there is an easy workaround solution, but I was curious if this kind of use of the folder should be discouraged or not.
Beta Was this translation helpful? Give feedback.
All reactions