Entity http exception

Entity http exception is a simple Drupal 8 module to allow admin users to setup
http exception(404 or 403) for different type of entity(Node,Taxonomy) view page
on their site. They can also set whether unpublished nodes
will get 404 instead of 403 http exception.
The http exception will only effect anonymous users, if you have admin users that do
not have permissions to view unpublished nodes, they will still see a
403 Access Denied for these pages.


Source: https://drupal.org/project/project_module/feed/all