-
Notifications
You must be signed in to change notification settings - Fork 2
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
restrict allowable paths for bundle input dir #387
Comments
this is something of a security issue. we also want to make sure they don't do sneaky things like going from a whitelisted root path but then backing up using relative dirs via |
for tests, the rspec spinup can add the fixture paths to the whitelist. then, don't have to do anything env dependent in regular app code. |
The active mounts are listed at https://consul.stanford.edu/display/CollAcc/Content+Mount+Paths (mount path column for the path that is accessed from the prod preassembly box) |
we should restrict to the mount paths on the pre-assembly box.
@blalbrit can provide a whitelist of valid input paths.
The text was updated successfully, but these errors were encountered: