GitHub user parthchandra opened a pull request:
https://github.com/apache/drill/pull/1050
DRILL-5694: Do not allow queries to access paths outside the current â¦
Added check to prevent users from accessing a path outside the current
workspace. For backward compatibility this introduces a new parameter
'allowAccessOutsideWorkspace' in the dfs storage plugin configuration that
allows the user to override the check and allow access outside the workspace.
The default value for the parameter is false. Any existing storage plugin
configurations which do not have the parameter specified will no longer be able
to access paths outside the workspace.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/parthchandra/drill DRILL-5964
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1050.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1050
----
commit 6fa5ac7eb1520af6def3fb9f6ebd35ee7f982b01
Author: Parth Chandra <[email protected]>
Date: 2017-11-14T23:25:33Z
DRILL-5694: Do not allow queries to access paths outside the current
workspace root
----
---