Only allow access of FIle From embed.

Posted by KyleT on Stack Overflow See other posts from Stack Overflow or by KyleT
Published on 2010-04-12T03:20:57Z Indexed on 2010/04/12 3:23 UTC
Read the original article Hit count: 345

Filed under:
|
|

Hey All,

So I am embedding a PDF file on my page:

<embed src="http://www.mywebsite.com/files/ebook.pdf" width="500" height="375">

Is there anyway to prevent any and all access to that file except for when it is being accessed via this embed?

Thanks!

© Stack Overflow or respective owner

Related posts about embedded

Related posts about html