Build a bounded document-intake service that keeps originals private, isolates file processing and ties downloadable PNG previews to exact-byte inspection evidence.
Application Security Engineer. Advanced.
For application security engineers and developers who read Python, build HTTP APIs, write SQL and use container mounts/networks, and want to design bounded untrusted-file intake and verified preview delivery.
The service accepts synthetic warranty reports for two demo tenants. Its useful result is a small set of page previews whose release can be traced to a specific upload, policy, processing attempt and scanner snapshot. The original document never becomes a download merely because a filename, parser or antivirus tool accepted it. The design is single-host and deliberately limits formats and work.
An upload is a request to spend resources, not merely a filename followed by a scan. Before considering document content, decide who may submit it, how much work the request can cause and when incomplete work stops consuming capacity. In this lesson you will trace one upload from authenticated metadata to a private original whose measured identity is committed. You already know HTTP, Python exceptions and basic SQL; archive inspection and scanner decisions come later.
A file is not a single agreed interpretation. Its name, media type, signature, container structure and decoder may disagree. A narrow acceptance policy makes those disagreements explicit instead of asking a general-purpose parser to accept anything it recognizes. This lesson explains the PDF/PNG/ZIP policy and why actual extraction work needs independent limits. You need the intake and quarantine model from the previous lesson; no archive-format expertise is assumed.
Antivirus answers a narrower question than “is this document safe?” It reports whether its configured engine and loaded signature set detected a condition in the submitted representation. A clean result is useful only when you know which bytes were submitted, how the result was interpreted and which scanner identity produced it. This lesson builds that evidence model, including failure and maintenance. Start with private quarantine and the permitted file policy; no prior Clam
A parser is complex code interpreting attacker-controlled structure. Even perfect filename checks do not remove decoder bugs, so decide what a parser can reach and how much work it may perform. Equally important, constrain what its output can make a more trusted process interpret. This lesson explains both sides of that boundary. It assumes the permitted format and scanning model; container resource and filesystem details are developed here.
Distributed side effects do not become one transaction just because one Python function calls them. The object store can accept a PUT while the client loses its reply; a worker can continue after another attempt takes over; a database commit can succeed before its response disappears. This lesson explains how explicit identities and a fenced publication decision keep those situations from exposing an incorrect partial result. You need the original/member/PNG evidence chain an
A release decision can be correct while its download path is unsafe. A direct bucket link might bypass tenant checks; a storage object might change after publication; a reader might hash one response and stream a different one. This lesson follows the last trust boundary, from a request to the exact body sent. It assumes the complete release manifest and basic HTTP response knowledge. The three-step download flow is selectable in the Architecture diagram; here the small race
Operational recovery is part of a security boundary. A rushed operator can turn a safe refusal into disclosure by clearing a quota, fabricating readiness or deleting an object whose transaction actually committed. This lesson shows how to distinguish observations, choose a safe next check and preserve exact ownership during cleanup. It assumes the intake, lease, scan and download contracts from the earlier topics.
Prepare a disposable authorized Linux ARM64 host and private source root. Finish with known ownership, a finite lifetime and the intended root shell; create no application state yet.
Create the isolated Python environment and understand the locked executable and policy inputs. Finish with doctor reporting the intended host/policy and no lab resources created.
Create one fresh owned state path and let bootstrap build the pinned image, private database/buckets and frozen scanner. Keep credentials private and carry the exact state into every later step.
Start the API/supervisor and interpret one finite readiness request. This is the stopping point for a deployment-only session: finish with teardown rather than adding functional faults.
When functional work is separately permitted, create one small known-color fixture and trace its upload to a complete committed PNG reference. The in-process client keeps tokens out of arguments and retained output.
Retain selected sanitized identities, purge the exact lab twice and reconcile the recorded cloud resources. Finish with no owned runtime or billable runner residue while preserving shared resources.
Learning Access: INR 199 plus 18% GST. Source Pack: INR 399 plus 18% GST. 90 days of online access. No auto-renewal.
The application is cloud-independent. Host compute, disk, downloads and any remote test runner have their own costs. Follow the owned cleanup procedure; a spending alert is not a hard cap.
The Source Pack permits own learning, internal work, modification, deployment and portfolio demonstrations. Lawfully downloaded copies remain usable after access expiry. Redistribution/resale and competing training restrictions apply to original material; third-party licences retain their own terms. See the complete Source Pack licence before purchase.
You can read the project material without deploying it. Running a cloud build requires the accounts, permissions and tools listed in that project's prerequisites. Deployment runs in your environment, not in a hosted Vectametric lab.
Yes. Learning Access includes the online source-file browser and explanations. The Source Pack adds the downloadable reference repository where available. The project's licence governs use of the source.
No. Cloud and CI usage are separate. Read the project's cost notice, set a budget and stop deadline, and follow its destruction and leftover-resource checks.
The project curriculum lists the available scenarios and interview topics. These focus on understanding the architecture and explaining decisions; they are not a promise of particular interview questions or a job.
The project page and checkout show the online access period for your selected plan. Access does not auto-renew. Downloaded source remains subject to its licence; future releases are not automatically included.
Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.
Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy