dcsimg

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 ApacheToday@rcbowen.com And please let me know what you think of my columns, at that same address. Many thanks for reading down this far!

--Rich

This article was originally published on Aug 14, 2000
Page 3 of 3

Thanks for your registration, follow us on our social networks to keep up-to-date