Allow some events to be accessible only by users with CiviCRM Memberships, you can also allow users with certain membership types to access certain events.
Click here to visit the user guide.
Click here to visit the developer guide.
CiviCRM [4.6, 4.7]