How to hide the inside page for anonymous user? I have a view named Search User.

LINK: www.example.com/search-user

If any anonymous user directly open this link then this page shown.

How can I hide that View page for the anonymous user.
Go to your view. and set Role permissions like follows

Click on Permissions



Select Role



Check all roles except anonymous user.