The promise of function.do is one of radical simplicity: Deploy Functions. Get APIs. You write a piece of focused logic, and instantly, it becomes a scalable, secure, and ready-to-use API endpoint. It’s a powerful paradigm that eliminates servers, boilerplate, and infrastructure management.
But with this simplicity comes a critical question for any serious developer: "If I'm not managing the infrastructure, how do I know it's secure?"
It's a fair question, and the answer lies at the core of our design philosophy. At function.do, security isn't an add-on or a feature you configure; it's the foundation upon which the entire platform is built. Let's pull back the curtain and explore the multi-layered security architecture that protects every serverless API you deploy.
Security begins with your code's architecture. The function.do platform is built around the concept of atomic functions—small, self-contained units of code designed to perform one specific task perfectly.
This isn't just a best practice for code quality; it's a fundamental security principle.
By encouraging you to break down complex problems into these simple, single-purpose units, function.do inherently promotes a more secure and resilient system design, much like the philosophy behind microservices, but without the operational overhead.
No request ever reaches your function's code directly. Every single call to a .do endpoint first passes through our robust, managed API Gateway. This gateway acts as a vigilant bouncer, inspecting and securing every request before it's allowed entry.
Here's what it handles for you automatically:
Once a request has been vetted by the gateway, it's passed on for execution. This is where the magic of Function as a Service (FaaS) provides its most powerful security guarantee: radical isolation.
Each execution of your function runs in its own ephemeral, sandboxed environment.
This level of isolation is a key differentiator from platforms that only provide the building blocks. We don't just give you a container; we give you a fully managed, secure, and disposable execution context for every single API call.
What about securing access between functions? This is where the power of composable functions truly shines. You can build complex workflows by having one function call another.
function.do facilitates this with a secure-by-default approach. You can use our SDK or a standard HTTP client to have functions communicate. We provide secure mechanisms for managing access tokens and secrets, so you never have to hardcode credentials or expose sensitive keys in your function code. This allows you to build intricate systems from simple, reusable parts, where each part maintains its own security boundary.
Let's tie it all together. Here's what happens when a client calls your function:
Our goal at function.do is to provide a platform with zero boilerplate and zero infrastructure to manage so you can focus purely on your logic. This deep, multi-layered security architecture is how we deliver on that promise without compromise.
While other platforms give you the tools to build a secure application, we give you a secure application by default. Stop worrying about TLS certificates, server patching, and firewall rules.
Ready to build? Deploy your first function and get a secure API in seconds.