Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2004
    Posts
    1

    Open PDFs in external web browser without showing the URL

    I have a client that would like the end user to access a series of PDF files from a server without letting them see the URL. (and view full screen!)

    Been using File.openURL....PDFs open in Acrobat inside web browser with the address bar showing. Is ther any way to hide the URL?

    Oh, one more thing....
    Ideally, I would love to set up the PDF files in a list box.
    Last edited by NottReel; 08-26-2004 at 01:02 PM.

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    Once you launch a separate program like an external browser, I don’t know of a way to wrestle away control of that program from itself. Most external browsers are going to have the option of showing the user an address bar, if the user wants one. I don’t think that AMS or any other program can take away that ability from an external program.
    Sorry.

    OK, I can think of a couple of possible options(?)
    The first one is sort of shaky. It involves something that I think is referred to as ‘phishing’. You use javascript to ‘spoof’ the address bar. I can’t give specifics on this but Google can. I don’t recommend doing this, and I suspect that sooner rather than later, most external browsers will defeat this ‘spoof’.

    It’s not for me to say, but I tend to think your best bet is to build your own browser with the Web Object. You won’t add an address bar, so they won’t see the URL. If it is important that it opens in an external window, you can create a separate AMS project that is just a browser, then launch it from your main app.

    Be aware that I know of no method that is going to be 100% effective in keeping your PDF’s from people who want them. A user doesn’t have to be Filini to save a simple “screen capture” to disk.

    Hope that helps.

  3. #3
    Join Date
    Feb 2004
    Location
    Cardiff
    Posts
    78
    Option 1
    You could open a webpage on the server with a pdf embedded into it and insert some javascript into that webpage to hide the address bar.

    Option 2
    Store the pdf files in passworded zips on the server which you download, unzip and display in a browser window using AMS. You could use the same javascript trick as described in step 1 on a locally held webpage to stop resizing and hide the address bar. When the project was closed you could include code to delete the pdfs from the users system.

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    This uses a small EXE (24K) that takes a URL as a command line. Uses the IE Object, but has no toolbars, etc.
    Attached Files

Similar Threads

  1. Pass URL to Browser
    By Tux in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 04-05-2004, 11:38 PM
  2. Open a Web Browser window in full screen mode
    By imagesbyken in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 08-07-2003, 05:43 PM
  3. HOW TO: Return a Web Browser Object to the Original URL after a Page Jump
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 02-03-2003, 09:18 AM
  4. Replies: 0
    Last Post: 10-04-2002, 10:09 AM
  5. HOWTO: Open an Internet URL in the Default Web Browser
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 09-18-2002, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts