On 1/7/06, <b class="gmail_sendername">H. Fox</b> &lt;<a href="mailto:haganfox@users.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">haganfox@users.sourceforge.net</a>&gt; wrote:<div>
<span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 1/6/06, Patrick R. Michaud &lt;<a href="mailto:pmichaud@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pmichaud@pobox.com</a>&gt; wrote:<br>&gt; On Fri, Jan 06, 2006 at 10:16:41AM -0600, Tegan Dowling wrote:
<br>[...]<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;If you want to keep $EnablePageListProtect=1; in your 
config.php, I<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;believe you could create a local/Eberron.php file containing just<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$EnablePageListProtect = 0;<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;Anyone:&nbsp;&nbsp;Any problem with this?
<br>&gt;<br>&gt; Well, even if $EnablePageListProtect=0; in local/Eberron.php,<br>&gt; it's possible for someone to use that to see the existence of pages<br>&gt; in all groups.&nbsp;&nbsp;Essentially someone can then do:<br>&gt;<br>

&gt;&nbsp;&nbsp; .../pmwiki.php/Eberron/RecentChanges?action=rss&amp;trail=Site.AllRecentChanges<br>&gt;<br>&gt; to get a list of all pages, including password-protected ones.<br>&gt;<br>&gt; Why?&nbsp;&nbsp;Well, specifying Eberron/RecentChanges causes the 
Eberron.php<br>&gt; to be loaded (thus turning off $EnablePageListProtect), and then<br>&gt; the ?action=rss command is told to read pages from Site.AllRecentChanges.<br>&gt;<br>&gt; Almost all variables that have to do with read-protecting pages
<br>&gt; must be set in the site-wide configuration file to be effective;<br>&gt; placing them in per-group configuration files means they can be<br>&gt; bypassed simply by referencing a page from a different group.<br><br>

Would there be any advantage to doing this, either in config.php or<br>e.g. Eberron.php?:<br><br>if ($action == 'rss') { $EnablePageListProtect = 0; }</blockquote></span><div><br>
Anyone have an answer for HF's question?<br>
</div></div>