The Drupal Path Guard is a simple module that redirects GUEST / ANONYMOUS users when they access content in Drupal using URL /node/{id}. Many sites make use of URL ALIAS and don't want users necessarily to scan content out of context using /node/{id}.

No specific code requirements exists, but the module works best with PathAuto also installed, and with a URL ALIAS given to ALL content that GUEST users will access. This is so that the guest user has a valid address to use for the content. The URL ALIAS must be provided in communication to such users.