|
||||||||||
Registration packageThis is a simple web based registration package for building and maintaining a .htaccess password file. This keeps an additional status of Administrator or user which other programs can use to make choices at CGI run time.This is a CGI program. Thus you need to be able to run CGI programs on your web server. I have only tested this under the apache server, but hopefully it should work with other servers as well. Although this can be used as a standalone program, I have been using it as part of a suite of programs which run together. For an example of an application where this is embedded, see http://www.seps.org/cvoracle/. Of course, as most people who are reading this message are not registered in that package, the registration functions are mostly hidden. The main reason for having this as a separate package is so that there is a distinct focus for maintainance so that I don't have to work with the same code in a number of places. This program has two major entry points, register.cgi and register.pw.cgi. The last one is simply is a wrapper for the first, and can be used in a .htaccess file to authenticate the access. The first program is the general program that either authenticated or unauthenticated users access. This idea has the notion of administrators and users. Both are stored in the .htaccess password file, and if the user supplies the appropriate password, can access any page that the password file controls. CGI programs (such as this registration package itself) can pay attention to the administrator status, and allow extra functionallity that other authenticated users don't get. The registration package allows administrators to add and delete users as well as change the basic configuration of the package. There can be more then one user marked with the administrator status. For the work I do, this package will be brought in by the host application. If you want to play with this package directly, then you can pick it up in a number of fashions.
Once you have obtained this program, you need to install it. The easiest way is to say make update which goes out and checks to see that you have the most current packages, automatically writes some of the files, and then guides you through the rest of the files to be updated. Note that web servers are configured in a number of ways. This does have ramifications as you use this program. Note: This program is offered without any support, warranty, or guarantee. You are welcome to work with it, and use it in your projects. If you have improvements please send them in. However, I don't want to get into answering lots of questions about configuring and using this package. On the other hand, if you are interested in having me install this package, or use it in a custom application for you, feel free to contact me for rates and availability. |
||||||||||
|
If you have any question about the Registration, send mail to regan@ao.com. If you see something which looks like a bug, please report that as well. You can find other programs in Regan's Cornvalley Archive sponsored by PEAK, Inc. |