title: Restrict access to path in the URL
body: <p>If I have a URL "<a href="http://somesite.com/root/folder/subdirectory/myfile.pdf" rel="nofollow noreferrer">http://somesite.com/root/folder/subdirectory/myfile.pdf</a>" 
  How can I make sure the user can access the full URL to view and download myfile.pdf but not have access to "<a href="http://somesite.com/root" rel="nofollow noreferrer">http://somesite.com/root</a>" or "<a href="http://somesite.com/root/folder" rel="nofollow noreferrer">http://somesite.com/root/folder</a>" or "<a href="http://somesite.com/root/folder/subdirectory" rel="nofollow noreferrer">http://somesite.com/root/folder/subdirectory</a>"??</p>
  
  <p>The implement can be in HTML, angular 6, reactjs or any such frameworks.</p>