Anyone?

I know how to add .php pages outside the RTE...I need the code that will make pages accessible by members only. Anyone know the code used to make a page "members only" accessible?