title: How would I make a file only accessible from one link
body: <p>I have an HTML file on my amazon AWS account to which I am linking in the form of an iFrame from within a learning environment known as Moodle. Since these people have paid to access this course material, I've been trying to find out if it would be possible to make this file only accessible from the iFrame in moodle (i.e. someone cant look up the url in the source code and share it with someone not enrolled in the course) I know there must be something in php I could write, but Im fairly new to it. It doesnt have to be 1337 hacker proof, just basically enough security to deter your average computer savvy user. Hoping to get some advice here! Thanks in advance!</p>