I have a site built in Drupal v5x. We have used google search as we need to be able to search pdfs. The problem is that the pdfs are supposed to be accessible only to authenticated users. So the template that the files are linked from is password protected, but when those links show up in the google search results, anyone can click on them and view them. Is there a simple way to make those files viewable only to authenticated users, but still have the the links display in the google search results?

thanks

Comments

dageshi’s picture

off the top of my head the only thing I can think off is private file system, using that you can restrict access to the pdf itself rather than just hiding the link itself. you could certainly do this in d6 I don't know about d5 and moving to private file system is somewhat fraught with problems unless your building the site from scratch. Sorry I'm not being more help.