I have some nodes that aren't visible to the non-identified user because it is specified in the view that I´ve created.

However, If you know the path of the node , it´s possible to access to this. I would like that a non-identified user can't see the node although he has the path.

Comments

vm’s picture

mapd0004’s picture

It only works for Drupal 7.x , not 8.x

vm’s picture

D8 = https://www.drupal.org/project/rabbit_hole

Although rereading your post, what is a 'non-identified user'. Do you mean anonymous? If yes, access to content is controlled via the user role settings for the content type. Set to 'authenticated'. If you need finer-grained control, then you may need to look at the content access module.

onejam’s picture

When a node is published, even if the link is not shown on the site, anyone who knows the link can access it because it is made public.

Like what VM said, you'll need content access https://www.drupal.org/project/content_access to prevent the node being viewed by the public (ie, anonymous user role). content access module is available for both Drupal 7 and 8

-----------------------------------------------------------------
We build engaging websites and intuitive designs that will benefit your business.
Duvien

gisle’s picture

Take a look at the overview of node access modules on this page: https://www.drupal.org/node/270000

- gisle