Skip to content

Commit 1d0cb33

Browse files
Merge pull request #617 from tableau/jichikawa-security-docs-update
Security: Add README note for running TabPy without authentication
2 parents 96aa262 + 2326318 commit 1d0cb33

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ Consider reading TabPy documentation in the following order:
2727
* [Authoring Python calculations in Tableau](docs/TableauConfiguration.md).
2828
* [TabPy Tools](docs/tabpy-tools.md)
2929

30+
Important security note:
31+
32+
* By default, TabPy is configured without username/password authentication.
33+
We strongly advise using TabPy only with authentication enabled. For more
34+
information, see
35+
[TabPy Server Configuration Instructions](docs/server-config.md#authentication).
36+
Without authentication in place, if the TABPY_EVALUATE_ENABLE feature is
37+
enabled (as it is by default), there is the possibility that unauthenticated
38+
individuals could remotely execute code on the machine running TabPy.
39+
Leaving these two settings in their default states together is highly
40+
discouraged.
41+
3042
Troubleshooting:
3143

3244
* [TabPy Wiki](https://github.com/tableau/TabPy/wiki)

docs/server-config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,14 @@ For extended logging (e.g. for auditing purposes) additional logging can be turn
314314
on with setting `TABPY_LOG_DETAILS` configuration file parameter to `true`.
315315

316316
With the feature on additional information is logged for HTTP requests: caller ip,
317-
URL, client infomation (Tableau Desktop\Server), Tableau user name (for Tableau Server)
318-
and TabPy user name as shown in the example below:
317+
URL, client infomation (Tableau Desktop\Server) and TabPy user name as shown in
318+
the example below:
319319

320320
<!-- markdownlint-disable MD013 -->
321321
<!-- markdownlint-disable MD040 -->
322322

323323
```
324-
2019-05-02,13:50:08 [INFO] (base_handler.py:base_handler:90): Call ID: 934073bd-0d29-46d3-b693-b1e4b1efa9e4, Caller: ::1, Method: POST, Resource: http://localhost:9004/evaluate, Client: Postman for manual testing, Tableau user: ogolovatyi
324+
2019-05-02,13:50:08 [INFO] (base_handler.py:base_handler:90): Call ID: 934073bd-0d29-46d3-b693-b1e4b1efa9e4, Caller: ::1, Method: POST, Resource: http://localhost:9004/evaluate, Client: Postman for manual testing
325325
2019-05-02,13:50:08 [DEBUG] (base_handler.py:base_handler:120): Checking if need to handle authentication, <<
326326
call ID: 934073bd-0d29-46d3-b693-b1e4b1efa9e4>>
327327
2019-05-02,13:50:08 [DEBUG] (base_handler.py:base_handler:120): Handling authentication, <<call ID: 934073bd-

0 commit comments

Comments
 (0)