I have setup a View which showscertain information to a user, when he/she is logged in provided that logged in user is referenced in the content type containing that information.
The View shows this information user the name of the
uid from the url.
The website is such that the logged in user can view the profile of other users, this makes the logged in user have access to the information of the user whose profile is viewing which shouldn't be the case. Please tell me how do I prevent this?