Posted by UNarmed on January 26, 2010 at 7:59am
Hey i was wondering whether there is a way of making it so that only certain users can see documents uploaded to a certain content type through a cck files.
Currently i have a view that is displaying uploaded PDF's, this view is only accessible by certain users. The problem comes in with the fact that the url to the PDF's arent secure e.g absolutely anyone can get to the url. So basically my view is limited to certain users but if someone was to copy the url to one of the pdf's and send it to anyone else they would be able to view the pdf. This pokes a whole range of security holes in my site =/
If anyone has a solution to this i would greatly appreciated help.
Comments
I suspect you might want to
I suspect you might want to enable private file downloads - more info at http://drupal.org/node/22240
Hey thanks for the reply haha
Hey thanks for the reply haha i dont know why i didnt think of that =]
Thanks, this helped me too!
Thanks, this helped me too! However, PDF files open in the broswer, while DOC files open the download box. Any thoughts as to why?
That may be a local browser
That may be a local browser issue - you probably have the Adobe reader plugin, but not the one for Word files. I believe there are ways to force opening or download, but afraid I don't know any details.