title: How to Protect Angular CLI Assets with canActivate
body: <p>Right now anyone can access my <code>assets</code> by doing <code>http://localhost:4200/assets/filename.pdf</code> even when the user is not logged in. How can I protect my <code>assets</code> by using <code>canActivate</code>?</p>
  
  <p>Something like this would be ideal: <code>{ path: 'assets/*', canActivate: [LoginService] },</code></p>
  
  <p>Thanks.</p>