Is there an "official" method to protect WP virtual content subdirectories such as posts or pages?
For example, when I first install WP there is a default blog created with 1 post and 1 page; and URLs that look like this:
What I want to do is to add htaccess files for authentication/authorization to the /sample-page, /blog, and possibly /blog/2012 (or lower). I realize that there are plugins that can protect these content directories. For our enterprise we need htaccess to enforce our (enterprise) authN/authZ. For example, we may need to only allow certain groups access to content; groups which may be hundreds of users who we do not want to provision in WP.
I have found out a way to do this, but it really is a hack which means that it may not fully work or may break in future upgrades. I can detail those customizations if necessary. Just came here to see if there is an easier, non-hack method of doing this.