[pmwiki-users] Whole Site Unprotected - not asking for password when editing side bar etc.
Randy Brown
randy at brownragfilms.com
Thu Mar 5 13:56:58 CST 2009
Your config file sets up a default password for admin privileges so
that only someone with that password can change who can edit a page.
But it doesn't restrict who can edit a page.
One way to set a password for the sidebar (or any page) is to go to
the page and append "?action=attr" to the URL. You'll have to enter
your admin password. Then you'll see where you can set the edit
password. There are other approaches if you want to set edit passwords
for multiple pages.
Hope that helps.
Randy
On Mar 5, 2009, at 1:45 PM, Brian McKee wrote:
> Hi All
>
> I just set up a PMWiki, and it picked up my updated site title (so it
> must be seeing the updated config file) - but it's letting me edit the
> side bar without asking for a password.
>
> I thought having a real password in the default passwords entry was
> enough to protect the side bar.
>
> My entire local/config.php file follows.
>
> What am I doing wrong?
>
>
> <?php if (!defined('PmWiki')) exit();
> $WikiTitle = 'Ubuntu Mailing List FAQs';
> $EnablePathInfo = 1;
> $DefaultPasswords['admin'] =
> crypt('AReallyGoodPasswordIsHere.Really');
> $EnableBlocklist = 10; # enable automatic blocklists
> $EnableGUIButtons = 1;
> $EnableWSPre = 1; # lines beginning with space
> are preformatted
> $EnableWikiWords = 1; # enable WikiWord links
> $EnablePageListProtect = 1;
> if ($action == 'atom') include_once('scripts/feeds.php'); # Atom 1.0
> $EnableRelativePageVars = 1;
> $GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
> '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
> $GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
> '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
> $GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented
> text]',
> '$GUIButtonDirUrlFmt/indent.gif"$[Indented
> text]"');
> $GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging
> indent]',
> '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging
> indent]"');
> $GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
> '$GUIButtonDirUrlFmt/ol.gif"$[Ordered
> (numbered) list]"');
> $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
> '$GUIButtonDirUrlFmt/ul.gif"$[Unordered
> (bullet) list]"');
> $GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
> '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal
> rule]"');
> $GUIButtons['table'] = array(600,
> '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr
> ||\\n|| || || ||\\n|| || || ||\\n', '', '',=
> '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list