Suppose you want, Profile Type1 users cannot access photos of Profile Type2 users then perform as following:

  1. General Parameters

  2. Rule Parameters