-
Notifications
You must be signed in to change notification settings - Fork 50
Security
Douglas Blank edited this page Nov 11, 2022
·
1 revision
Kangas DataGrid opens two ports for requests:
- 4000 (by default) for the UI (i.e., the "frontend")
- 4001 (by default, the above + 1) for the REST endpoints (i.e., the "backend")
You can control the ports used from the command line, or in Python.
kangas server --frontend-port 4000 --backend-port 4001
The backend port does allow a narrow place where Python expressions are evaluated (inside a list comprehension in a filter query, or in a computed column). This is fairly well guarded by default, executing only expressions, and in a reduced Python environment.
In addition, you can further restrict this evaluation environment by simply importing RestrictedPython
:
pip install RestrictedPython
Simply having it installed will enable it.
Be aware if you share your computer with others that these two ports are open and others can access the DataGrids through them.
Kangas DataGrid is completely open source; sponsored by Comet ML
-
Home
- User Guides
- Installation - installing kangas
- Reading data - importing data
- Constructing DataGrids - building from scratch
- Exploring data - exploration and analysis
- Examples - scripts and notebooks
- Kangas Command-Line Interface
- Kangas Python API
- Integrations - with Hugging Face and Comet
- User Interface
- FAQ - Frequently Asked Questions
- Under the Hood
- Security - issues related to security
- Development - setting up a development environment
- Roadmap - plans and known issues
- User Guides