# Introducing FastAPI-Guard: Enhance Your FastAPI Security with IPinfo

**URL:** <https://community.ipinfo.io/t/introducing-fastapi-guard-enhance-your-fastapi-security-with-ipinfo/6564>\
**Category:** Community & Events\
**Tags:** open-source\
**Created:** [November 23, 2024, 5:52pm UTC](https://community.ipinfo.io/t/introducing-fastapi-guard-enhance-your-fastapi-security-with-ipinfo/6564 "2024-11-23T17:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [November 23, 2024, 5:52pm UTC](https://community.ipinfo.io/t/introducing-fastapi-guard-enhance-your-fastapi-security-with-ipinfo/6564/1 "2024-11-23T17:52:24Z")

</div>

We’re excited to share [FastAPI-Guard](https://github.com/rennf93/fastapi-guard), a security library for FastAPI applications. It offers IP whitelisting/blacklisting, user agent filtering, rate limiting, automatic IP banning, penetration attempt detection, custom logging, CORS configuration, and cloud provider IP blocking.

> **[GitHub - rennf93/fastapi-guard: A security library for FastAPI that provides...](https://github.com/rennf93/fastapi-guard)**
>
> A security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts. It integrates seamlessly with FastAPI to offer robust protection against various security threats.

FastAPI-Guard integrates [IPinfo’s data](https://github.com/rennf93/fastapi-guard?tab=readme-ov-file#prerequisites) to provide accurate geolocation for IP addresses, enhancing security and monitoring.

Explore FastAPI-Guard on GitHub and see how it can protect your applications.
