# Automatic scaling concern

**URL:** <https://answers.netlify.com/t/automatic-scaling-concern/77415>\
**Category:** Support\
**Tags:** lambda-functions\
**Created:** [October 15, 2022, 10:48pm UTC](https://answers.netlify.com/t/automatic-scaling-concern/77415 "2022-10-15T22:48:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeffML](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jeffml/32/2662_2.png) [@JeffML](https://answers.netlify.com/u/JeffML)\
**Post date:** [October 15, 2022, 10:48pm UTC](https://answers.netlify.com/t/automatic-scaling-concern/77415/1 "2022-10-15T22:48:43Z")

</div>

Lambda functions have a publicly accessible URL-based invocation. While I’ve put some restrictions on access through HTTP headers, I worry still that a malicious actor could drive up my request counts so that I get charged lots of $$$. What’s to prevent this? I don’t want to jump to the next plan level automatically.

---

<div class="post-metadata">

**Author:** ![coelmay](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/coelmay/32/24427_2.png) [@coelmay](https://answers.netlify.com/u/coelmay)\
**Post date:** [October 15, 2022, 11:08pm UTC](https://answers.netlify.com/t/automatic-scaling-concern/77415/2 "2022-10-15T23:08:01Z")

</div>

Hey @JeffML

Check out this Support Guide

> [@\[Support Guide\]: How to apply Access Control for Netlify Functions?](https://answers.netlify.com/t/support-guide-how-to-apply-access-control-for-netlify-functions/46519):
>
> Last checked by Netlify Support Team: July 2025 Introduction: That is a great question, we do get it from time to time. But the answer is not that straightforward. First, there are 2 ways someone might think this works: Can I save my Function invocation count by restricting the function to be called only from my frontend? The answer to that is no. Unfortunately, it just won’t work. No matter what you do, the moment you deploy a Netlify Function, its endpoint is accessible to everyone and it …
