Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-501

Hide passwords from log/console output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None

    Description

      If files should be copied to a smb-share, the connection string has the form smb://<domain>\<username>:<password>@<fqdn>/<path...>. The bad thing is that the used password is written to the log output which is a NoGo for production use.

      The attached patch modifies CopyTask, DeleteTask, MoveTask and SyncTask by filtering out all characters between ":" and "@" and replaces them with asterisks on the log output.

      Attachments

        1. HidePassword.patch
          3 kB
          Yves Schumann

        Activity

          People

            ggregory Gary D. Gregory
            starwarsfan Yves Schumann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: