Skip to main content

One post tagged with "gem"

View All Tags

Introducing My New Ruby Gem - PDFScanner

· 3 min read
Shekhar Patil
Full stack developer.

PDF files can contain much more than text and images — they may include JavaScript, embedded files, form inputs, or even malicious payloads. If your application processes user-uploaded PDFs, it's essential to scan them for such potential security threats.

The pdf_scanner Ruby gem offers an easy-to-use and customizable way to scan PDF files against configurable security policies. It even supports encrypted PDFs and can quarantine any file that violates your policies.