Halodoc processes over 300k file uploads daily in healthcare workflows and built a multi-layer validation framework to block malicious files. The system uses Apache Tika for content-based MIME detection, Apache PDFBox for PDF structure scanning, Apache Commons CSV for formula injection detection, and Java ZipInputStream for

11m read timeFrom blogs.halodoc.io
Post cover image
Table of contents
IntroductionUnderstanding the Threat LandscapeOur Multi-Layer Validation FrameworkReal-World Validation WalkthroughAdd a False Positive Handling SectionSecurity Framework Integration ArchitecturePerformance at ScaleKey Security Principles We FollowTradeoffs and Design ConsiderationsConclusionJoin UsAbout Halodoc

Sort: