How to create custom profiles and reserved areas on WordPress
18/05/2009Restrict access to users on WordPress
Have you ever thought of make some content of your WordPress blog available only to certain users? Do you need to restrict access only to a certain type of users to selected blog pages or post? Ever thought of create a reserved area for registered users on your WordPress blog?
Some time ago, while working on a client’s project with a*dult content, I came up with the idea of restricting access only to a certain type of users. This would have avoided any problem with underage visitors. The thing was that he only wanted to use WordPress, because it was the only content management system it was familiar with.
So I started thinking how this could be sorted out. Actually WordPress does not come out of the box with such a feature. What we needed was some sort of plugin able to distinguish between users according to some extra information.
The issue was promtly solved with two different plugins:
- Disclose Secret allows to restrict access to certain pages or posts only to users complying with certain criteria.
- Cimy Extra Fields for WordPress makes some more data available for any users. This extra fields can be used to distinguish in between differents types of users therefore setting up specific access to content
With these two plugins we can manage access to any type of content for any type of users, even feeds, archieves, homepages and search results.
WordPress is indeed versatile and fully customizable. However, if you really want to create reserved areas for users with a secured login procedure, there’s plenty of CMS out there which can do this job pretty well, even through a SSH connection.
Still, if you just want to make sure that you blog is read only by the right people, this might be the best option: simple, easy to deploy and safe enough.
