Your-id-please is a project mainly written in PHP, it's free.
The WordPress plugin will add a new meta box to your posts and pages allowing you to mark posts that require users to login. Visitors trying to view the post, will be asked to login.
404: Not Found