skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. You can add to the sftp.json file the following lines:

    "ignore": [
        ".vscode/**",
        "YourAnyOtherFolder/**"
    ]
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search