Membership, Protecting HTML Files, not pages.

Hi, I have a pop-up plugin that pops up HTML files with links to other html files. I would like to protect some these files or links... These are not pages, so I am trying to figure out the best way to block unpaid access to these files.