ServersApache Guide: Apache Authentication, Part 4 Page 3

Apache Guide: Apache Authentication, Part 4 Page 3

ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.




        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

Get the Free Newsletter!

Subscribe to Daily Tech Insider for top news, trends & analysis

Latest Posts

Related Stories