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.

  • What do you mean by 'hide'? you want to restrict the user to access the page? Oct 15, 2014 at 9:14
  • how does that link have been created? by custom module or views..?
    – xurshid29
    Oct 15, 2014 at 9:15
  • I want to show that page after login only @KrishnaMohan
    – Nishant
    Oct 15, 2014 at 9:16
  • 1
    Please clarify the question to make it clear what page you want to hide. If it is not the view produced page www.example.com/search-user - then we need to know what page it is. Oct 15, 2014 at 10:36
  • As already stated, how you hide something depends on how you present it to begin with.
    – Letharion
    Oct 16, 2014 at 7:47

1 Answer 1


Go to your view. and set Role permissions like follows

Click on Permissions

enter image description here

Select Role

enter image description here

Check all roles except anonymous user.

enter image description here

  • Sorry how can I set role permission inside view.
    – Nishant
    Oct 15, 2014 at 9:19
  • yes. I'm going to attach screenshot. Oct 15, 2014 at 9:20
  • I know the way you post... but not working after that no change...
    – Nishant
    Oct 15, 2014 at 9:32
  • What content are you displaying in your view? Make sure to give no permission for anonymous user for that content. (people/permission) Oct 15, 2014 at 9:46
  • 1
    The answer given by Krishna Mohan is correct. If you are not talking about a page craeted by a View, then your question is misleading. Oct 15, 2014 at 10:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.