Skip to content

Instantly share code, notes, and snippets.

View Tee-Stark's full-sized avatar
🌩️
learning Cloud & DevOps

Timmy Omolana Tee-Stark

🌩️
learning Cloud & DevOps
View GitHub Profile
@Tee-Stark
Tee-Stark / IP WhiteIisting.md
Created May 9, 2023 15:32 — forked from Brymes/IP WhiteIisting.md
IP WhiteIisting with Golang(Go) Gin

IP WhiteIisting with Golang(Go) Gin

Securing endpoints to specific IP addresses to prevent unauthorized access is a common practice in Backend engineering particularly for sensitive endpoints.

An Example is Securing Webhook endpoints E.g. Paystack

The files Attached

  • main.go :: Houses the server
  • middleware.go :: Houses the IP whitelisting function