-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Expression Function to Read File #166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems straightforward. It doesn't include any of our ideas for improving the security by pre-validating permission to access files outside of the working directory, but more prerequisites are required to make that work.
Let's see if Webb or Dave have any comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On its face, the change looks good (except possibly for a nit or two).
I'm not sure what other constraints we want to place on file access. Is there a canonical list of permitted/disallowed locations that we should be checking?
That's a great question. I do not know what we should disallow. |
We cannot enforce a policy which we do not have. Ship it! (Unless you want to tweak the nits, first....) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool. I can't help wondering if it'd be useful to be able to read an object, e.g. from a YAML file, perhaps even with reference to a schema for validation; but even if that's desirable, it can wait.
Changes introduced with this PR
By contributing to this repository, I agree to the contribution guidelines.