HidePasswordPlugin
Hide passwords embedded in your topics.
Introduction
Rather than play HTML tricks with foreground and background fonts, this
PlugIn allows you to document the password in the Topic in plain text and
have that password hidden when rendering using the shorthand
%PASSWORD{sometext}%. When the text is rendered the password is converted
to *'s. The topic is also changed to 640 instead of 644 to prevent
accounts with file system access from seeing the password.
I really suggest that you chmod 0600 any files that you store passwords in.
I, nor my company are responsible for any issues you have from using this
plugin, lost passwords, etc.
Syntax Rules
Example
HidePasswordPlugin Settings
- One line description, is shown in the TextFormattingRules topic:
- Set SHORTDESCRIPTION = Hide passwords embedded in TWiki topics
- Debug plugin: (See output in
data/debug.txt)
- Plugin specific settings:
- Set TWIKIDATAPATH = /path/to/twiki/data
- Set CHMOD = 0640
- Set DISPLAYCHARACTER = *
Plugin Installation Instructions
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.
Extract HidePassword.zip, edit the HidePasswordPlugin-topic to
your needs and have fun. There is an install script at the top of
the unpacked director that might help with installing this plugin.
Execute this script by:
- # unzip -v HidePasswordsPlugin.zip
- # cd twikiHidePasswords
- # ./install.sh /var/www/html/twiki
- change the above path to where your twiki is installed
Files
-
lib/TWiki/Plugins/HidePasswordPlugin.pm
-
data/TWiki/HidePasswordPlugin.txt
Plugin Info
Related Topics: TWikiPlugins,
DeveloperDocumentationCategory,
AdminDocumentationCategory,
TWikiPreferences
--
TWiki:Main.MikeEggleston
- 20 Nov 2006