%META:TOPICINFO{author="mikee" date="1029748440" format="1.0" version="1.0"}%
---++ %TOPIC%

Rather than play HTML tricks with foreground and background fonts, this
<nop>PlugIn allows you to document the password in the Topic in plain text and
have that password hidden when rendering using the shorthand
<nop>%PASSWORD{sometext}%. When the text is rendered the password is converted
to <nop>*'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

<blockquote style="background-color:#f5f5f5">
   * =%<nop>PASSWORD{secret}%=
</blockquote>

---+++ Example

   * %PASSWORD{secret}%

---+++ <nop>%TOPIC% Settings

<blockquote style="background-color:#f5f5f5">
		* Set TWIKIDATAPATH = /path/to/twiki/data
		* Set CHMOD = 0640
		* Set DISPLAYCHARACTER = *
		* Set DEBUG = 0
</blockquote>

---+++ Plugin Installation Instructions

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.
Also, enable the plugin using the configure script in twiki.
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

|  Plugin Author: | %MAINWEB%.MikeEggleston |
|  Plugin Version: | 1.0 |
|  Change History: | 20 Nov 06: Initial Version |
|  CPAN Dependencies: | none |
|  Other Dependencies: | none |
|  Perl Version: | 5.0 |
|  Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
|  Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |

---+++ History

   * 1.0: first version

---+++ Contributors

__Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins
