Can I password-protect a PDF file?

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Can I password-protect a PDF file?

    I'm trying to set up a site with a 'members-only' area that contains PDF files.
    Is there some way to password-protect the files themselves, or do I need to
    settle for a protected php page that links to the files. While it's unlikely
    that a non-member would be able to guess the filenames, it's possible that an
    ex-member who's username and password have been removed would still be able to
    access the files with a bookmark, as they're not protected.

    I understand that short of a commercial product to convert pdf to html, I'm
    stuck with the pdf format, but is there some way to embed the pdf within a html
    page?

    DW8 WinXP php mySQL

    tinmanjim Guest

  2. Similar Questions and Discussions

    1. Can I Password-Protect Parts of a PDF File?
      Hello. I have Acrobat 6.0 Professional. I'd like to know if it's possible to create a password-protected PDF file that can limit viewing of...
    2. password protect an xml/rss file
      i need to assign an rss/xml file to each user this file will be accessed most likely through an rss aggregator (user/pass credentials for file)...
    3. password protect .fla file ?
      Hi all Is there a way for me to password protect my .fla and .swf files ? So that ? say someone comes up to my desktop, and is prompted for a...
    4. Password Protect
      I am trying to password protect the partitions on my harddrive. I created 3 partions the 4th one being used only for the OS. Is there a way to...
    5. Password protect IE
      "David Houghton" <d.j.houghton@talk21.com> wrote in message news:<eQgCjSLODHA.2052@TK2MSFTNGP11.phx.gbl>......
  3. #2

    Default Re: Can I password-protect a PDF file?

    You can actually create files and store them with different names, so as
    they can't be downloaded conventionally ...

    In most Windows, and I am assuming PHP setups - you can store files above
    the root and use a page to call them ...

    You protect them too - I think on a blanket (all instances of the file have
    the same password) approach is easier ...

    Or take a look at this [url]http://www.rustyparts.com/pdf.php[/url]

    HTH's

    Gerry

    [url]http://www.UsableContent.co.uk[/url]


    "tinmanjim" <webforumsuser@macromedia.com> wrote in message
    news:emguap$bo7$1@forums.macromedia.com...
    > I'm trying to set up a site with a 'members-only' area that contains PDF
    > files.
    > Is there some way to password-protect the files themselves, or do I need
    > to
    > settle for a protected php page that links to the files. While it's
    > unlikely
    > that a non-member would be able to guess the filenames, it's possible that
    > an
    > ex-member who's username and password have been removed would still be
    > able to
    > access the files with a bookmark, as they're not protected.
    >
    > I understand that short of a commercial product to convert pdf to html,
    > I'm
    > stuck with the pdf format, but is there some way to embed the pdf within a
    > html
    > page?
    >
    > DW8 WinXP php mySQL
    >

    G Guest

  4. #3

    Default Re: Can I password-protect a PDF file?

    You can create .HTACCESS & .HTPASSWD files in the folder that holds your PDF
    files - these authentication functions fully protect the folder, and files
    cannot be accessed just by remembering the URL.

    Passwords must be encrypted in the .HTPASSWD file (you can't do this yourself,
    the encrypted password must be generated on the server). To encrypt passwords,
    I use this utility here: [url]http://home.flash.net/cgi-bin/pw.pl[/url]

    The text for the .HTACCESS and .HTPASSWD files can be found here:
    [url]http://www.euronet.nl/~arnow/htpasswd/documentation.html[/url]

    Hope that answered it for ya.

    David.Holley Guest

  5. #4

    Default Re: Can I password-protect a PDF file?

    Thanks; I was afraid of that- while I can easily password-protect the folder,
    it makes for a somewhat less than seamless user experience. I didn't have much
    hope for a file-level solution, but it was worth asking.

    tinmanjim Guest

  6. #5

    Default Re: Can I password-protect a PDF file?

    I'm not sure how many files we're talking about here...but is it possible for
    you to dump all of the PDFs in one password-protected folder and just reference
    them there in your different HTML files - sessions are usually remembered using
    ..HTPASSWD, so users won't have to login more than once.

    Another, very high-end solution is to deploy a Single Sign-On environment (if
    the number of users validates the need for self-service and secured access...).

    David.Holley Guest

  7. #6

    Default Re: Can I password-protect a PDF file?

    To be honest, the sessions thing hadn't occurred to me. I'll check it out, but if the user is only bugged by a pop-up password box once per session, that would be acceptable.

    Thanks!
    tinmanjim Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139