<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I've been using the Nodeaccess (<span class="Apple-style-span" style="color: rgb(17, 17, 17); font-family: Verdana; ">5.x-1.x-dev) module to control access to a "members only" section of my web site. I want to put some PDF documents on the site, which will be subject to the same access control, but I don't see any way to do this.</span><div><font class="Apple-style-span" color="#111111" face="Verdana"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" color="#111111" face="Verdana">I can upload the PDFs to the files directory, and link to them from a protected page, but that doesn't really protect the PDFs. Anybody who could guess a URL would have unlimited access. I know I can add .htaccess protection at the apache level to the PDF's, but that means people need to authenticate twice (once to drupal, again to apache). And, managing two sets of accounts would be a nightmare.</font></div><div><font class="Apple-style-span" color="#111111" face="Verdana"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" color="#111111" face="Verdana">Is there some way to embed a PDF directly as a drupal node, so I can control access to it via the same mechanism as the rest of the site?</font></div><div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">--</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:roy@panix.com">roy@panix.com</a></font></p> </div><br></div></body></html>