Filewatcher File Search File Search
Catalog
Content Search
» » » » » rubygem-prawn-security-0.8.4.tbz » Content »
pkg://rubygem-prawn-security-0.8.4.tbz:43953/lib/ruby/gems/1.8/gems/prawn-security-0.8.4/  info  downloads

rubygem-prawn-security…  more info»

README

= Prawn/Security: Popular Password Protection & Permissions for Prawn PDFs

Prawn/Security adds encryption, password protection, and permissions to Prawn. 

== Usage

See the examples/ directory and/or the RDoc for detailed info. Basically, it's
as simple as the first example:

  require 'prawn/security'

  Prawn::Document.generate("hello_foo.pdf") do
    text "Hello, world!"
    encrypt_document :user_password => 'foo', :owner_password => 'bar',
      :permissions => { :print_document => false }
  end

This creates a document that requires the password 'foo' to be opened,
and cannot be printed without entering the owner password 'bar'.

If you want to prohibit most anyone from performing a certain activity, you can
pass :owner_password => :random to generate a probably-unguessable owner 
password.

== Contributors

Brad Ediger <brad.ediger@madriska.com>

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com