ServersApache Guide: Apache Authentication, Part 4 Page 3

Apache Guide: Apache Authentication, Part 4 Page 3




        use DBI;
        my  = DBI->connect('DBI:mysql:database', 'username',
     'password'); # 'password' is the database password.
        my  = ->prepare("update passwords
                set passwd = '' where username = ''");
        ->execute;
        ->finish;
        ->disconnect;

Summary

This was a lightning-fast overview of how one might use Perl to manage your
password lists, in any of the three storage mechanisms that we've talked
about over the last three weeks.

Future columns

Please let me know if there are other topics that you'd like for me to talk
about in future columns. You can send your suggestions to me at
[email protected] And please
let me know what you think of my columns, at that same address. Many thanks for
reading down this far!

--Rich

Latest Posts

Related Stories