From a6f8808770b58e4ca1085bcbb5d558a6a5194c9d Mon Sep 17 00:00:00 2001 From: bjones1 Date: Tue, 5 Apr 2022 10:42:14 -0500 Subject: [PATCH] Rename: Files related to VSCode extension. --- .gitignore | 4 ++-- CodeChat_Server/security.rst | 2 +- CodeChat_Services/run_thrift.bat | 2 +- conf.py | 6 +++--- extensions/VSCode/README.md | 2 +- extensions/contents.rst | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 8030c5e0..1770279b 100644 --- a/.gitignore +++ b/.gitignore @@ -25,8 +25,8 @@ syntax: glob _build/ # TypeScript transpiles. -extensions/VSCode_Extension/out -extensions/VSCode_Extension/.vscode +extensions/VSCode/out +extensions/VSCode/.vscode # Python-generated files __pycache__/ diff --git a/CodeChat_Server/security.rst b/CodeChat_Server/security.rst index 97454b75..62d25114 100644 --- a/CodeChat_Server/security.rst +++ b/CodeChat_Server/security.rst @@ -11,6 +11,6 @@ The server listens to three ports, as shown in `/docs/developer`: These ports should **never** be exposed publicly; they provide an attacker significant access to the underlying computer's filesystem. To mitigate this risk, the CodeChat Server by default only accepts connections from the computer it runs on, by binding only the ``LOCALHOST`` address defined in `CodeChat_Server/constants.py`. -**However**, the server also supports an optional insecure mode, in which it bypasses this protection by allowing connections from *any* computer. For example, `/extensions/VSCode_Extension/contents` can run on a remote Docker container using the `VS Code Remote Development `_ toolset. In this mode, **attackers allowed to connect to these ports will have access to the server's filesystem**. +**However**, the server also supports an optional insecure mode, in which it bypasses this protection by allowing connections from *any* computer. For example, `/extensions/VSCode/contents` can run on a remote Docker container using the `VS Code Remote Development `_ toolset. In this mode, **attackers allowed to connect to these ports will have access to the server's filesystem**. To improve security, **never expose these ports publicly**. \ No newline at end of file diff --git a/CodeChat_Services/run_thrift.bat b/CodeChat_Services/run_thrift.bat index 891c6aac..190247be 100644 --- a/CodeChat_Services/run_thrift.bat +++ b/CodeChat_Services/run_thrift.bat @@ -23,4 +23,4 @@ REM This requires the `Apache Thrift compiler