How secure are IP restrictions on Azure functions ?

Steinar Dahl 21 Reputation points
2021-11-04T07:58:38.397+00:00

I'm setting up an Azure function that should only be accessible from two networks. I've configured the function with ip restrictions limiting access to the two outgoing IPs of those networks. What I'm wondering is how secure is this solution ? How difficult would it be for potential intruders to fake their origin IP to get around this ? In addition to IP restrictions the function app uses Azure AD to authenticate clients.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jamie Sabbatella 646 Reputation points
    2021-11-04T09:27:25.983+00:00

    Hi @Steinar Dahl

    It is a good security measure.

    Even if somebody spoofs your IP address to try and authenticate, they would not receive the packets back as they would route through the internet to the correct address and then most likely get dropped by your device / network.

    Hope that helps.

    Kind regards,

    Jamie Sabbatella

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.