Joshua Thijssen wrote: > I've taken a quick look (my perl is not that great, but language is > language). > > What you can do, is inside the WebRequest() sub, create a new hash > called %statRequests, which holds the pages which are accessible when > given the "statistics"-password. > Next up, the sub will check the given password against the > webAdminPassword, and right after that, it will print the 401 > authenticatin required part if there is no password given. In between, > you can test for the statistic password and fetch a page from the > %statRequest instead of the %webRequest. I highly doubt it would be more > than 25 lines of code, and that would probably be the easiest solution > to implement a dual password system without actually writing an ACL.
It would be less than 25 lines of code I'm sure. But if I'm going to do something, it should be done right, or at least done well so i can expand it later. :) Kevin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
