[pmwiki-users] Allow only one IP range at specific page.
James Almeida
james.almeida at epfl.ch
Tue Nov 17 10:00:18 CST 2015
Thank you all for the suggestions.
I will take a look at the options and try to implement one.
Cheers,
On Tue, Nov 17, 2015 at 4:57 PM, Patrick R. Michaud <pmichaud at pobox.com>
wrote:
> The Blocklist is probably not the answer you're looking for -- it's
> intended to prevent sites from _writing_ to pages, not to prevent them from
> being viewed.
>
> I think you're probably looking for
> http://www.pmwiki.org/wiki/Cookbook/AuthDNS .
>
>
> It's also possible to do per-page customizations -- see
> http://www.pmwiki.org/wiki/PmWiki/GroupCustomizations . For example, if
> you want something to be done only on page ABC.XYZ, you can create a file
> local/ABC.XYZ.php that has things to be done only on that page. However,
> per-page customization isn't a good approach for securing access to pages,
> since an author can always do (:include ABC.XYZ:) from another page and
> access the contents that way.
>
> I think your best bet is the AuthDNS recipe mentioned above. You would
> define a IP address (or range) as belonging to a given authentication
> group, and then you can use the standard PmWiki password-protection tools
> on a page to restrict access to that authgroup.
>
> Hope this helps,
>
> Pm
>
>
> On Tue, Nov 17, 2015 at 03:04:48PM +0000, Brian Tibbels wrote:
> > There is no example of $BlocklistPages but I'm sure it holds the key.
> > http://www.pmwiki.org/wiki/PmWiki/Blocklist#BlocklistPages
> >
> >
> > *Brian Tibbels*
> > *IT support for small business and the individual*
> > http://clickmarlow.co.uk/
> > *m*: 07804 109906* | t*: 01628 477640
> >
> >
> > On 17 November 2015 at 14:59, James Almeida <james.almeida at epfl.ch>
> wrote:
> >
> > > Thank you for the answer Gilles,
> > >
> > > But from what I saw it still seem wiki wide, and not page wide.
> > > Maybe I will have to sync the PmWiki with the LDAP server and require
> > > login to view.
> > > I am just reading the docs to find out how to use the LDAP groups in
> the
> > > PmWiki.
> > >
> > >
> > > On Tue, Nov 17, 2015 at 2:26 PM, ABClf <languefrancaise at gmail.com>
> wrote:
> > >
> > >> Try the whitelist solution on this page
> > >> http://www.pmwiki.org/wiki/PmWiki/Security
> > >>
> > >> Gilles.
> > >> Le 17 nov. 2015 18:01, "James Almeida" <james.almeida at epfl.ch> a
> écrit :
> > >>
> > >>> Hello PmWiki users,
> > >>>
> > >>> I need to only one ip range in an specific page of a wiki. Is that
> > >>> possible?
> > >>>
> > >>> Its a research group wiki. I need to do that to allow viewers within
> the
> > >>> university to access the list of available projects, but not anyone
> outside
> > >>> the university, due to IP concerns.
> > >>> I read about the Blocklist implemented in the PmWiki, but it seems
> to be
> > >>> wiki-wide, and not for specific page.
> > >>>
> > >>> Thank you for your attention!
> > >>> --
> > >>> _____________________________________________________________
> > >>> Dr. James Moraes de Almeida
> > >>> Postdoctoral researcher at Theory and Simulation of Materials
> (THEOS).
> > >>> École Polytechnique Fédérale de Lausanne (EPFL).
> > >>> Direct: +41 21 693 1126
> > >>>
> *Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż*
> > >>>
> *Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż*
> > >>> *Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż*
> > >>>
> > >>> _______________________________________________
> > >>> pmwiki-users mailing list
> > >>> pmwiki-users at pmichaud.com
> > >>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> > >>>
> > >>>
> > >
> > >
> > > --
> > > _____________________________________________________________
> > > Dr. James Moraes de Almeida
> > > Postdoctoral researcher at Theory and Simulation of Materials (THEOS).
> > > École Polytechnique Fédérale de Lausanne (EPFL).
> > > Direct: +41 21 693 1126
> > >
> *Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż*
> > >
> *Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż*
> > > *Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż**Ż*
> > >
> > > _______________________________________________
> > > pmwiki-users mailing list
> > > pmwiki-users at pmichaud.com
> > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> > >
> > >
>
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
--
_____________________________________________________________
Dr. James Moraes de Almeida
Postdoctoral researcher at Theory and Simulation of Materials (THEOS).
École Polytechnique Fédérale de Lausanne (EPFL).
Direct: +41 21 693 1126
*¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯*
*¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯*
*¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯**¯*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20151117/714ed390/attachment.html>
More information about the pmwiki-users
mailing list