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

Hide passwords from log/console output

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      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

            • Assignee:
              ggregory Gary Gregory
              Reporter:
              starwarsfan Yves Schumann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: