Allow People To Log In and Out?

Hey guys,
I am very familiar with wordpress and have been using it for a while now but I have always wondered how to allow people to register to your wordpress blog/site, then when they log in they see pages that you can only see if your logged in?

What is the best way to do this?

That would be kind of a lot to explain I think, but it’s like a miniature user management system.

Just uses an SQL table with allowed content for example, Pages_Allowed ID’s

User | Pages_Allowed

john | 1,4,5,66
kim | 2,4,3

And the PHP checks if the current logged in user is allowed on what given pages by a $_SESSION maybe.

Just download a membership mod for WP to restrict access to certain pages to members only. I can’t recommend one off the top of my head but there are a few out there, both free and paid.