You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Yves Schumann (JIRA)" <ji...@apache.org> on 2013/11/11 13:45:43 UTC
[jira] [Updated] (VFS-501) Hide passwords from log/console output
[ https://issues.apache.org/jira/browse/VFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yves Schumann updated VFS-501:
------------------------------
Attachment: HidePassword.patch
Patch to hide used passwords from log/console output
> Hide passwords from log/console output
> --------------------------------------
>
> Key: VFS-501
> URL: https://issues.apache.org/jira/browse/VFS-501
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 2.0
> Reporter: Yves Schumann
> Attachments: HidePassword.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)