My team keeps uploading .vscode
folder with sftp.json
file to our projects, creating a security flaw.
We all use SFTP plugin, which helps us a lot!
There is a config or a file where we can edit to prevent a file upload?
My team keeps uploading .vscode
folder with sftp.json
file to our projects, creating a security flaw.
We all use SFTP plugin, which helps us a lot!
There is a config or a file where we can edit to prevent a file upload?
2
Answers
Create a file called .vscode in your upload folder. This will prevent the sftp plugin from creating a folder, called .vscode, on the remote site.
You can add to the
sftp.json
file the following lines: