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