----------------------------------------------------------------------- Acceptable Usage Policy, Version 1.1 (May 2000) ----------------------------------------------------------------------- Copyright (c) 2000, Lythos. All rights reserved. ----------------------------------------------------------------------- CONTENTS -------- 1) Installation 2) License 3) Acceptable Usage Policy 4) Scripting 5) Contacting us ----------------------------------------------------------------------- 1) INSTALLATION --------------- There is no need to install Acceptable Usage Policy, all you need to do is extract this archive and run the executable "aup.exe" - you will need to specify a script as a parameter (see below). ----------------------------------------------------------------------- 2) LICENSE ---------- Acceptable Usage Policy, Version 1.1 is freeware. This means that it is completely free. No support of any kind will be provided. No liability or responsibility of any kind is accepted by the author (Lythos). This means that you use the software at you own risk. You may keep more than one copy of the software. You may distribute the software for free as long as you comply with the following rules: 1: You do not charge for the software. The only charge you may make is for distribution charges, such as the cost of a floppy disk etc. The author, only, has the right to decide what constitutes distribution costs. 2: The software is distributed as is. This means that you distribute the software in the zip file it was originally provided in, with this file (readme.txt) and the executable AUP.exe contained within. No files may be added to the zip file, and no files may be altered in anyway. You are not allowed to decompile the software, and you are not allowed to examine how it works in any way, to do so is an infringement of the copyright. Any breach of this license will be acted on, with the highest penalties opted for. The laws of the United Kingdom govern this license. ----------------------------------------------------------------------- 3) Acceptable Usage Policy -------------------------- Acceptable Usage Policy is a simple program that displays an acceptable usage policy (AUP) when you log onto a computer. It is designed for computer networks. When AUP runs the AUP you specify is displayed, and the user is asked to click 'I Accept' or 'I Decline'. If the user clicks 'I Accept' they may use the computer. If the click 'I Decline' they are logged off. They have to click either of these buttons, since the mouse is trapped and there is no way of terminating the program. To run AUP you need to specify the filename and the name of a script file (eg. "c:\aup\aup.exe aupscript.spt"). This will run AUP and cause the script "aupscript.spt" to be executed. You can either specify just the filename (eg "aupscript.spt") or you can specify the whole path (eg "c:\aup\aupscript.spt"), it makes no difference. For more information about scripts see section 4 - Scripting. A sample script is included (aupscript.spt). It is best to run aup.exe via a shortcut with the command c:\aup\aup.exe script. Where "c:\aup\aup.exe" is the location of the program and "script" is the name of the script (file extension omitted). The AUP is taken from a file specified in the script. Note: AUP does not produce any error messages, since it is designed for a network. If you are using AUP on a network it is suggested that you run it as a service, to prevent the user from terminating the program. It is also suggested that you use the scripting engine to run programs when the program ends, since if a program loads at the same time then AUP may be unable to trap the mouse. AUP not only traps the mouse inside a bounding box, but it also denies the Ctrl+Alt+Del funtion and the Start menu from working, until 'I Accept' is clicked. On some systems it has been found that Ctrl+Alt+Del can not be blocked, to compensate when AUP detects Ctrl, Alt, Del or the Windows key being pressed it will automatically log the user off, and display a message explaining that they are not allowed to try and get around the AUP. ----------------------------------------------------------------------- 4) Scripting ------------ Below follows how to use the scripting engine in AUP. If you have a suggestion on how to improve the scripting then please e-mail us (address below). How To Use The Scripting Engine ------------------------------- Currently the engine knows six commands, but more are being added. There is a sample script provided "aupscript.spt". The format of the commands is: [COMMAND] 'PARAMETERS' Where COMMAND is a command, enclosed in square brackets [], and PARAMETERS are the parameters enclosed in single quotes ''. Commands must be enclosed in square brackets; parameters must be enclosed in single quotes. The known commands are: * [AUP FILE] Specifies the AUP file to use, if you do not specify this command no AUP is shown. There is one parameter the file name of the AUP file. Usage [AUP FILE] 'c:\aup\aup.txt' * [LAUNCH PROGRAM] Specifies a program to launch. There are three parameters, filename, parameters and working directory. Usage [LAUNCH PROGRAM] 'C:\WINDOWS\EXPLORER.EXE' '/n,/e,c:\windows' 'c:\windows' * [MESSAGE] Specifies the text of a message to show in a message box. One parameter - the message. If you put in tabs and carriage returns then these will be shown in the message box. Usage [MESSAGE] 'Hello World!' * [LINK] Specifies a file to be linked in. There is one parameter, the path of the file to link. The main use of LINK is to link to an individual file for each user. For example if when a user logs on their folder is mapped to a drive, say n:\. You could then put a script file into their folder and put the statement "[LINK] 'n:\link.spt'" into the main script file, where n:\ is the drive their folder is mapped to, and link.spt is the name of the script file. This would mean that each user could be shown a slightly different AUP, or you could stop a user from logging on by putting [DENY LOGON] into there individual script file. Usage [LINK] 'linked.spt' * [DENY LOGON] Specifies that the accept button is disabled. This is very powerful, so be careful. If the accept button is disabled you HAVE to click the decline button and be logged off - THERE IS NO ALTERNATIVE. The idea of DENY LOGON is that it can be put in a linked file for a user that has been naughty. The user will not be able to user the computer, but will see the AUP. You can use with DENY MESSAGE to tell them what they have done wrong. See deny.spt for an example. Usage [DENY LOGON] * [DENY MESSAGE] Specifies a message that is shown, before the AUP is shown. There is one parameter, the content for the message box, see MESSAGE (above) for more details. The idea of DENY MESSAGE is that it is used with DENY LOGON so that a user can see the AUP, but can not use the computer. Usage [DENY MESSAGE] 'You have broken the AUP and are not allowed to use this computer.' We accept that the scripting is limited, but it is being expanded. ----------------------------------------------------------------------- 5) CONTACTING US ---------------- It so easy to contact us, just use one of the following methods: E-Mail: aup@yahoo.co.uk Web Site: www.lythos.co.uk Any reports of bugs, ideas, or suggestions will be gratefully received. -----------------------------------------------------------------------