Depends on what you are trying to restrict. If you just want to restrict access to a photo, an HTML document, or a file of some other sort, it is easy. If you're trying to build something like TechIMO's forums pages where things are customized for each user, things can be a bit more difficult.