[mythtv-commits] mythtv commit: r17580 - in trunk/mythplugins/mythweb by kormoc
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sun Jun 22 19:59:34 UTC 2008
Author: kormoc
Date: 2008-06-22 19:59:34 +0000 (Sun, 22 Jun 2008)
New Revision: 17580
Changeset: http://cvs.mythtv.org/trac/changeset/17580
Added:
trunk/mythplugins/mythweb/includes/lockdown.php
trunk/mythplugins/mythweb/modules/_shared/tmpl/_errors/lockdown.php
Modified:
trunk/mythplugins/mythweb/README
trunk/mythplugins/mythweb/includes/init.php
trunk/mythplugins/mythweb/modules/_shared/lang/Catalan.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Czech.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Danish.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Dutch.lang
trunk/mythplugins/mythweb/modules/_shared/lang/English.lang
trunk/mythplugins/mythweb/modules/_shared/lang/English_GB.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Finnish.lang
trunk/mythplugins/mythweb/modules/_shared/lang/French.lang
trunk/mythplugins/mythweb/modules/_shared/lang/German.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Japanese.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Polish.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Slovenian.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Spanish.lang
trunk/mythplugins/mythweb/modules/_shared/lang/Swedish.lang
Log:
Adding a lockdown feature to mythweb. We check the user agent (and a get var) to see if it is a search engine or bot or the like. If it is, we lock down the mythweb install until the lockfile is manually removed. The idea is to prevent people from having their installs indexed without their knowledge. It is not perfect, but it is a start. There is a way to disable this feature if the user wants, and it is covered in the updated README file.
More information about the mythtv-commits
mailing list