Title: Protect posts based on user id
Last modified: August 18, 2016

---

# Protect posts based on user id

 *  [sunkast](https://wordpress.org/support/users/sunkast/)
 * (@sunkast)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/protect-posts-based-on-user-id/)
 * So here is my pet peeve with all blogging platfroms that I’ve tried and used.
   I have not been able to find a platform that will allow me to have users register
   on my site, and then restrict access to individual posts based on who the user
   is.
 * For example let’s say I have WordPress installed and 20 people that have registered.
   I may have one post where I only want Sally, John, Rich, and Holly to see. Then
   another post where only Sally and Holly can see.
 * I looked through the forum as best I could, and the plugins, but could not find
   such a hack or plugin. Does anyone know of a plugin or way I may be able to do
   this whether it be with WP or any other blogging platform?

Viewing 1 replies (of 1 total)

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/protect-posts-based-on-user-id/#post-409440)
 * Uh, [http://codex.wordpress.org/Plugins/Restriction](http://codex.wordpress.org/Plugins/Restriction)?
 * And if none of those work, a custom made plugin could very easily do what you’re
   looking for. WordPress is quite customizable. 😉

Viewing 1 replies (of 1 total)

The topic ‘Protect posts based on user id’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [19 years, 12 months ago](https://wordpress.org/support/topic/protect-posts-based-on-user-id/#post-409440)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
