[patch 6/6] implement mtime checking in HtPasswdChecker

0 views
Skip to first unread message

Felix Schwarz

unread,
Mar 12, 2008, 4:53:08 PM3/12/08
to authori...@googlegroups.com

With this patch HtPasswdChecker will check every time before authenticating
a user if the password file was modified since the last read. If so, the
user database is read again - you can make modifications on the fly without
restarting your app.

I think this checking causes no visible performance hit because the OS
should cache filesystem data if there are no changes (as long as you use
noatime to avoid writes).

--
Felix Schwarz
Dipl.-Informatiker

Gubener Str. 38
10243 Berlin
Germany

www.schwarz.eu - software development and consulting

check_mtime
Reply all
Reply to author
Forward
0 new messages