pdf file download

Posted by rex on Stack Overflow See other posts from Stack Overflow or by rex
Published on 2010-12-27T21:50:34Z Indexed on 2010/12/27 21:54 UTC
Read the original article Hit count: 299

Filed under:

Once a member signs up a form they can download the pdf file. Currently, the pdf file is link with HTML which means that anyone with the url can download it. What's the best way to encrypt a page so that the user don't see the url to a pdf file. I tried creating a flash file and link the URL from flash using the following:

var myPDF = new URLRequest("temp/test.pdf");
navigateToURL(myPDF);

but it opens a new window and show's the URL !!! is there a way to make the browse forcefully download the file instead of opening in on a new browser.

Thanks, Rex

© Stack Overflow or respective owner

Related posts about actionscript-3