SPUG: Password Protection?

Jeremy A. Mates jmates at mbt.washington.edu
Mon Dec 4 13:58:37 CST 2000


On Mon, 4 Dec 2000, Altman, Brian wrote:
> 	I have a Perl/CGI script that allows users to edit a flat file
> database on a Unix server. Now I need to secure this script so only
> specified users have access to it. Any thoughts on how I can password
> protect this script?

Assuming Apache, you could easily setup a .htaccess file to restrict
access to that area to specified users/groups.

You might also want to use https, depending on how sensitive the
information being modified is and where the edits are coming from.

Or, you could go whole hog and setup a centralized LDAP/SQL/DBM
user/group management system for the entire company, and integrate it
with the flat-file editing CGI script... :)

-- 
Jeremy A. Mates                       (206) 221-4714   Fax: 685-7301
Senior Systems Administrator          K 353B, Health Sciences Center
http://www.mbt.washington.edu/        Mail Box 357730
University of Washington              Seattle, WA  98195


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list