|Table of Contents|
7.1.5 Monitor Interface
The monitor interface of the VolanoChat applet is created by setting the
monitor parameter to
true. The monitor entrance looks like this:
Figure 1: VolanoChat monitor entrance interface.
The applet tag that embeds the applet shown above is:
<applet codebase="vcclient" archive="COM/volano/VolanoChat.jar" code="COM.volano.VolanoChat.class" width="500" height="60"> <param name="cabbase" value="COM/volano/VolanoChat.cab"> <param name="monitor" value="true"> <param name="color" value="#FFFFFF"> <param name="group" value="Welcome to Volano!"> <param name="text" value="monitor.txt"> </applet>
The monitor password is defined by the
server.password VolanoChat server property. The monitor interface prompts for the monitor password directly on the Web page. This interface operates just like the standard VolanoChat applet but adds the additional capabilities of removing a visitor from a chat room, kicking a visitor off the server, or permanently banning a visitor from the server.
Figure 2: VolanoChat monitor menu.
When one of the menu items is selected, a dialog box is displayed where monitors can choose the name and address to remove, kick or ban. The Remove dialog displays the list of each user in the room. The Kick and Ban dialogs display the list of users who recently entered the room, with the most recent visitor at the top. The number of recent names and addresses to display in the Kick and Ban dialogs is defined by the applet property
recent.user.limit= in the client applet properties file.
Figure 3: VolanoChat monitor popup user list.
The kick and ban functions disconnect all connections with a given IP address instead of just the connection of the person selected in the chat room. This makes sure people cannot use pre-established connections from different applet instances on the same machine to re-enter chat rooms even after their address is kicked or banned. But it also means that when one person connecting through a firewall router or SOCKS proxy gets disconnected, all other people connected through the same router or proxy will also be disconnected.
The ban function will add the visitor's Internet Protocol (IP) address to the list of banned host computers. The ban list is purged each time the server is restarted. To ensure that an IP address is always banned from the server, add the address to the list of denied hosts in the access control file. See the [5.3] Access Control section for more information.
By default all monitors share the same password defined in the properties.txt file. With VolanoChatPro you can assign each monitor their own username and password, which helps to prevent password sharing. This is done by setting the member.monitor server property equal to the path and filename of a text file containing the names of the monitors. See the member.monitor.* definitions on the [5.2] Server Properties page. When a monitor defined in this list enters through a normal member entrance, the member.monitor text file is checked and if their name is listed, they are automatically logged in with monitor privileges, assuming authentication is successful.
Figure 4: VolanoChatPro member monitor entrance.
|XHTML 1.0||Table of Contents|