[wp-hackers] Securing a part of WordPress structure
if.website at gmail.com
Tue Jun 6 02:17:41 GMT 2006
On 6/5/06, Paul Menard <codehooligans at codehooligans.com> wrote:
> Considering WordPress
> does not use physical directories is there a way to 'lock-down' an
> entire category or nested page hierarchy?
I did this by hooking into the 'the_posts' filter and unsetting a post
(and printing an error message) if it was under a category for which
the current user doesn't have permission to view.
More information about the wp-hackers