RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Generate Password Protected PDFs in Ruby on Rails

Comments

So, my 2c: Just don’t do this… You will lose the vector quality of text and the PDF gets much bigger. You can just convert the HTML to PDF with wickedpdf and then use a tool like the HexaPDF CLI to add a password. No need for something so convoluted.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in