Show user ‘Access denied’ page or redirect to landing page

When authenticated user in a particular role is trying to access a page (by manually typing URL) to which the user's role does not have permission: It is better to show an access denied page or redirect the user to the landing page ? Need answers from UX and security perspective.