Would like to hide the menu from users that are not privy to it.

when someone logs in i have them going to certain pages depending on their role. However if a "subscriber" go to page A it would still have the navigation above. I only want them to see to 2 pages. is there a way to do this?