Protect other members profiles from current user?

Hi,
Is there a way to protect not the whole members directory but only parts of the profiles?
Like for ex /members/%%user%%/profile/ ??!
That %%user%% does not seem to work, and I do not mean protectig the logged in user to see his onw profile, but I'd like to restrict his access to parts of the other user's profiles (like /userX/profile/, userX/activity) etc.?!?!
I'd like everyone to see the list of members but not have access to their complete profile
How is this done?!
Thank you!
Is there a way to protect not the whole members directory but only parts of the profiles?
Like for ex /members/%%user%%/profile/ ??!
That %%user%% does not seem to work, and I do not mean protectig the logged in user to see his onw profile, but I'd like to restrict his access to parts of the other user's profiles (like /userX/profile/, userX/activity) etc.?!?!
I'd like everyone to see the list of members but not have access to their complete profile
How is this done?!
Thank you!