View Encrypted PDF in Flex

Hi,
I'm trying to find out how to view an encrypted PDF programmatically in Flex. I would like to be able to do several things:
1) View an encrypted pdf on my local machine and do it by decrypting with the password through ActionScript.
2) Allow for viewing a pdf from a memory stream.
So far, I have been able to view a PDF using the HTMLLoader class, but I don't think this allows me to enter the decryption password for a pdf programmatically. I already have a PDF that was encrypted using Adobe Acrobat's encryption. Any help would be greatly appreciated. Thanks
-Aaron

kilyas, I to once thought it would be simple to load pdf's
into flex however there is no easy way to accomplish this task.
Whenever a pdf is loaded acrobat reader is always going to want to
take over the control of this. The one solution that I however did
come up with is by using one of the HTML component renderers within
flex. Something like this
http://www.flexcapacitor.com/htmlcomponent/examples/HTMLFrameInApplication.html
once you have that component loading html urls correctly you can
then set the url straight to the pdf. This will then launch adobe
reader inside of your html component and allow the user to "view a
pdf within flex" kind of... The major flaw I've found with this is
it seems to lag when the browser window containing the flex
application is moved around as well as resized. If anyone has a
better solution though I would also like to hear it.

Similar Messages

  • Viewing a pdf file in Flex 4?

    I've been searching on the Inernet to find out whether or not it is possible to view a PDF file (which will be stored in the server itself) on the client side...
    In the flex AIR they've a built in support to view a pdf file..but I'm not able to find out the same for Flex WebApplication (RIA)....
    how to open a pdf file on the client side, I did understood the logic for transferring the file on the client side using HTTP class but the problem here is how the client will open the pdf file...Do i need some API to open it??
    Any help on this guys ???

    Hi,
    just open with navigateToURL
    navigateToURL( new URLRequest( 'myFile.pdf' ), '_new' )
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/package.html#navig ateToURL%28%29
    Johnny
    Please rate my answer

  • Encrypted PDF showing as "Untitled" in iBooks reading view

    I've added an encrypted PDF file to iTunes and synced it with my iPad.
    Before doing so, I opened the PDF with Adobe Acrobat Pro and edited the metadata to include the document title (which is identical to the filename). I then password-protected it, selecting the option that encrypts all content except for metadata.
    In iBooks, the PDF is displayed with its correct title in Library view but when I input the password and open it, the overlay text in Reading view says it is "Untitled".
    However, if I add it to iTunes as an unencrypted PDF it displays correctly in both Library and Reading view.
    I would prefer it if I could keep this file encrypted. I know it's just a minor inconvenience but I can't see why the title should fail to display in Reading view once I've opened it.

    Update:
    I went to the Genius Bar at a local Apple Store yesterday and was given the following steps that will remedy the problem with the PDF's
    Drag and Drop PDF's directlty from MY Documents (if you are using a PC with Windows XP) and put the PDF's Directly into the Book section in the Library in iTunes.
    Then Sync the iPhone in iTunes and the PDF's will display with the names you have chosen.
    Do Not Email the PDF's and open them in iBooks or the PDF's will display with the name Untitled.
    Note: Be sure to delete the PDF's that are displaying as "Untitled" from the iPhone first as well as the PDF's that are on iTunes as the original cryptic PDF File Name. Then Drag and Drop a fresh Copy of the PDF's and put them into iTunes. After syncing the PDF's will display in iBooks with the name you have chosen.

  • View PDF with Flex

    Is it possible to load and view a PDF or a PDF thats been
    convereted to an SWF in a flex app? I've seen sites like
    docstoc.com / scribd.com / issue.com doing this. How are they doing
    this? I have not been able to find much on this subject.
    Would pdf2swf work for this? If so are the swf's generated by
    this tool compatible with AS3? Does anyone have sample code showing
    this example?
    I am pretty much stuck. I would appreciate any help or
    guidance. This seems to be a popular feature.

    i don't think there is a component to do this. But I think,
    you can open PDF inside you flex application using IFrame.
    You may want to vote for the feature request:
    https://bugs.adobe.com/jira/browse/SDK-13895
    Thanks,
    Gaurav Jain
    Flex SDK Team

  • Why do encrypted PDfs now appear as blank pages?

    Since installing Snow Leopard all of my encrypted PDFs appear as blank pages once I type in the password. I was wondering if anyone knew how and if this can be fixed.

    I'm sorry, but in what way?
    Do you mean the encrypted document you want to view shows nothing but a blank page when you give the password?
    Or do you mean the icon for the PDF is blank and doesn't show a preview? I'd imagine that's because it's encrypted and so probably assumes a preview shouldn't be shown.
    Or do you mean encrypting the PDF document causes the document to initially appear blank? Is it still blank once you close it, reopen it and provide the password?
    Maybe some steps of what you are doing so it can be replicated by others to try out, too.

  • Encrypted PDF's

    Is it possible to view and unlock encrypted PDF's using iBooks? If not are there any other apps that can accomplish this task?
    Thanks

    Do you want to read PDF directly on the new released iBooks 1.1? I feel reading experience is better with EPUB format. Do you think so? Reading PDFs on iBooks is slower and doesnot support flipping pages on iPads.
    SO I always stick to converting my PDFs to EPUB and transfer them on my iPad to read. And here is a detailed tutorial of How to Convert PDF to EPUB on Mac.
    Hope it can do you a favor.

  • Preview Encrypt PDF - Really Secure?

    When you use the Preview app in OS X to encrypt a PDF is it really secure?
    I haven't been able to find anything about the level of encryption used by Preview in OS X. What type of encryption does Preview use (40-bit, 128-bit)?
    A quick search of the web and there are several products that claim they can remove the passwords from PDF files. If these work why would anyone consider encrypted PDF's secure?

    Preview
    CVE-ID: CVE-2008-0994
    Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2
    Impact: Saving to encrypted PDF in Preview produces files that may be read without the password
    Description: When Preview saves a PDF file with encryption, it uses 40-bit RC4. This encryption algorithm may be broken with significant but readily available computing power. A person with access to the file may apply a brute-force technique to view it. This update enhances the encryption to 128-bit RC4.
    About Security Update 2008-002

  • ~~~how can i view a pdf file in a servlet?~~

    hi..
    i just need to view the .pdf files in a servlet page.all the pdf files are stored in my web module(i am using the glassfish server).can anybody tell me how to do it?
    thanks a lot....

    Provide a link? I mean, linking a PDF in an HTML page is hardly a Java programming problem.

  • Mavericks 10.9.1. Freezes or trackpad becomes slow and unresponsive when viewing downloaded PDF files in Preview.Help!

    The earlier post was my first attempt at posting and had some typos. Repeated with typos corrected.
    I have a Macbook Pro Retina 13" Late 2013 with preinstalled Mavericks.I now have the 10.9.1 update. Almost from the time of purchase in Nov '13, I have been experiencing freezes and slow & unresponsive trackpad. I have more or less narrowed this symptom as happening when viewing downloaded PDF files. The only option is to force eject, if available or shut down. I spoke to Support as I thought it was a RAM issue and they told me that in Mavericks RAM showing almost full was normal as it uses RAM differently. They took me through some resets and cleaning up which has helped a little but freezing stll happens. This never happened with my Macbook AIr running Lion. Any suggestions?
    Shankar9
    Macbook Pro Retina 13" Late '13-Mavericks 10.9.1
    Macbook Air 13" Mid '11-Lion
    Macbook Aluminium 13" Late '08-Snow Leopard

    So a PDF file that you can view in Preview on your MBA causes your new MBP to lock up and/or slow down. Is this right? Also you say more or less narrowed down to PDFs with Preview but does the computer exhibit this behavior with other programs and if so under what conditions? And how much free hard drive space do you have?
    Viewing memory use in Mavericks is different than with previous versions of the OS. Today it looks like we need to pay attention to what Apple calls Memory Pressure which is gauged by the bar graph in Activity Monitor and to the Virtual Memory being used. When the memory pressure graph bar gets too high it turns red and that's bad news. Looking at how much memory is being used doesn't help - I have a 16GB computer and with almost nothing running it still shows something like 15.79GB used but the memory pressure graph is just a think green line. So unless you see the memory pressure bar turning red lets not worry about memory usage at the moment.
    If among the things AppleCare had you do was reinstall Mavericks then I recommend a trip to the Apple store - and take a problem PDF file with you to demonstrate.

  • Problems viewing Combined PDF's in Preview

    I work primarily in Photoshop CS5.  All of my work is created there.  My problem arises when creating and viewing compressed PDF's using "Preview" on Macintosh.  The text is very funky.  But as expected, Acrobat itself displays all files flawlessly.  My PDF creation flow is as follows. 
    1.  Save Photoshop Document(s) to individual Photoshop PDF's, without layers so I keep only one image and my vector data. (I always resize and save my documents appropiately for their intended use.  I keep all file sizes to a minimum when creating a document for email use.)
    2.  Using Acrobat, I combine/merge my files, selecting the appropriate compression method for its intended use (Small, Medium, Large)
    When I use the Medium compression in Acrobat, I encounter no problems through "Preview".  All of my text appears as it should.  Works great, but I'm left with a 26MB file.
    When I use the Small compression in Acrobat (suggested for email) I have all kinds of problems with my text in "Preview".  I would love to use this option as my files sizes are half of what they are at Medium compression.
    I know that "Preview" is not a replacement for Acrobat, but Mac's default application for opening PDF's is "Preview", and many of the users that I deal with are not equiped with any Adobe software.  Is there a fix?  What is Acrobat discarding when it compresses the file for emailing?
    I might add that the small version that is not displaying the text, still contains the text (I'm able to select it), it's just not visible.

    The problem isn't with what Acrobat is discarding, but what Mac Preview is doing with the data available. The problem is with Preview. You cannot make a silk purse with a sow's ear. If Preview is doing a terrible job rendering a perfectly fine pdf, that Reader displays appropriately, there is nothing Adobe can do.

  • Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?

    Is there an Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?  Latest version I can download is 4.2.1
    I assume no fix is available, does anyone know if I'm still vulnerable to the security bug?

    No fix is needed since that vulnarability isn't in 4.2.1.

  • View Multiple PDFs in tabs in ONE window in ADOBE 9

    OK...so after hours of uninstalling and reinstalling adobe 9 to get past adobe's multiple error messages and running CHCKDSK and Windows registry cure I finally get Adobe reader 9 to work, only to find out that
    I can not view multiple pdf's in one window in tiled tabs. Basically I need to have several pdf's open in one window in adobe. I'm a student and writer and deal with multiple e-books at once for dissemination and I do not want them open in multiple windows, just one window with multiple tabs.
    In adobe 8 this option was in preferences. It does not exist in adobe 9. I can not have all these pdfs open in different windows, I want multiple pdfs to open in one window.
    This has been a very frustrating evening dealing with adobe 9. I wish I would have never installed it in the first place. I probably won't be buying 9 pro, its pretty crazy that there are all these frustrations. This whole thing with the Error 2330.Error getting file attributes C:\Program Files\AdobeReader 9.0 GetLastError:1392 which I finally fixed myself and then to find that there is not any way to view multiple pdf's in one adobe 9 window--at least according to what can be found here on adobe, I'm just in tears. I'm not a technical person and I have things due on monday. This is very frustrating.

    The change is due to Adobe's following Microsoft's user interface
    guidelines. I would recommend getting MS to change its tune.
    Mike

  • PDF stored in database and to view the PDF when clicking on a link

    Is it possible to save a PDF document in the database as a blob column and to retrieve the PDF when clicking on the link
    Example
    Above method is possible for images
    See: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm.
    But can I reach the same for PDF documents?
    Thanks in advance for your response.
    Kind regards,
    Iloon

    Hello Andy,
    This Upload and Download Files is very useful feature in APEX.
    However, is there a way of displaying PDF files first in the report by clicking the corresponding link
    in the table?
    I mean, is it possible to view PDF files first by clicking the link before deciding to download them?
    As we see, this approach is used by most websites and after opening and viewing a PDF file, we can save them.
    Thanks.
    Shurick.
    Edited by: Shurick on Sep 28, 2009 12:51 PM

  • Is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs

    is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs

    Drag them to your iTunes library.  Download the free iBooks app.  Select the PDFs you want too sync in the iTunes books pane.  The iBooks app will show your books collection or your PDFs collection as you select.

  • Conversion of postscript (converted from secure or encrypted pdf) to pdf

    I have a postscript file which has been created from secure or encrypted (opening restriction) pdf.
    Now when i use distiller to convert this postscript file to pdf then distiller cannot produce a pdf file.
    The log file contains following text:
    This PostScript file was created from an encrypted PDF file.
    Redistilling encrypted PDF is not permitted.
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    1) Is there a way to convert this postscript file into pdf ?
    I have a limitation that i cannot remove security from secure pdf.
    2) Do distiller provide any settings which can be changed to convert
    this kind of ps(from secure pdf) to pdf.
    3) Can we provide password to distiller during process of conversion to
    pdf.
    4) If above methods do not work then is there a way we can
    programatically using Distiller Api's for conversion to pdf.
    Like methods 'FileToPdf' etc.
    Thanks in advance.

    I am facing a similar problem.
    My workflow dictates that I convert the input PDF job initially to PS and finally back to PDF. If the input PDF file is secure (it's not encrypted - you will still be able to open the document), the redistillation of PS to PDF fails while using Normalizer 6.0 && 9.0 libraries. If I use Normalizer 505 library, the redistillation succeeds. I have checked with the same generated PS on both Distiller 6.0 && 9.0, and both the versions fail to reconvert as well. I am a little surprised that 6.0 and 9.0 will fail to do something that 505 library manages.
    Any suggestions?

Maybe you are looking for

  • Multiple sale orders

    Hi Experts I have a situation where a customer projects has two sale orders attached to the same project. - Sale order for the services - Sale order for the expense on the project The reason being is that the customer issues two separate  purchase or

  • Integrate custom view application instead of ADF

    Hello, In OBPM 11g, we use ADF for developing human interactive tasks and workflow. If we've our own UI application and want to call through OBPM and is accessible via a servlet, how to integrate this in human task? Please provide the steps. Thanks S

  • Empty Playlists

    My PC recently was "ghosted"/had a virus, and then I updated iTunes. Right now, my songs are listed but all my playlists are empty. Previously, my songs could not be found but I added to my library my iTunes Music folder, so now my songs are all list

  • Why does my 15' macbook keep shutting down?

    I never had this problem till recently. My macbook keeps shutting down around the 60% mark on the battery indicator. I have requested for the new battery, as my battery is eligible. I'm hoping this will fix the problem. Also, the light on the mag-saf

  • Before I purchase PSE 13

    Before I purchase PSE 13, do you know if I can keep PSE 12 and run both programs as needed/wanted separately? I currently have PSE 12 and if I install PSE 13 I do not want it to overwrite or upgrade PSE 12 but be a separate program completely.