0Pricing
Edge Computing with Cloudflare Workers & Deno · Ders

İstek Sınırlandırma ve DDoS Koruması

İstek sınırlandırmayı yapılandırın ve kötüye kullanım ile DDoS saldırılarına karşı korunmak için Cloudflare'ın güvenlik özelliklerinden yararlanın.

İstek Sınırlandırma ve DDoS Koruması, CoddyKit'te ücretsiz bir Edge Computing with Cloudflare Workers & Deno dersidir. Bu, 4 dersinin 2. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, Edge Computing with Cloudflare Workers & Deno öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. Edge Computing with Cloudflare Workers & Deno kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

Edge Security: Rate Limiting & DDoS

Protecting your edge applications is crucial. In this lesson, we'll explore two powerful security mechanisms: Rate Limiting and DDoS Protection.

These features help keep your applications stable, secure, and available, even under heavy load or malicious attacks.

Why Rate Limit?

Rate limiting controls how many requests a user or IP address can make to your application within a specific timeframe. It's like a bouncer, ensuring fair access and preventing abuse.

  • Prevent Abuse: Stops bots and malicious actors from scraping data or brute-forcing logins.
  • Protect Resources: Reduces strain on your serverless functions and databases.
  • Control Costs: Limits excessive usage that could lead to higher billing.

Cloudflare's Rate Limiting Power

Cloudflare offers robust, configurable rate limiting directly at the edge. This means requests are evaluated and potentially blocked before they even reach your Worker or origin server.

You can define rules based on various criteria like URL path, HTTP method, IP address, and even custom headers.

Defining Your Rate Limiting Rules

When setting up a rate limit, you typically define:

  • Threshold: The maximum number of requests allowed (e.g., 100 requests).
  • Period: The time window over which the threshold applies (e.g., 60 seconds).
  • Action: What happens when the limit is exceeded (e.g., block, challenge, or log).
  • Matching Criteria: Which requests the rule applies to (e.g., specific URL, method).

Practical Rate Limit Example

Imagine you want to protect your login endpoint from brute-force attacks. You could set a rule like this:

If: 10 requests to "/api/login"
From: The same IP address
Within: 60 seconds
Then: Block the IP for 5 minutes

This simple rule significantly enhances your application's security against common threats.

Understanding DDoS Attacks

A Distributed Denial of Service (DDoS) attack aims to overwhelm your application or server with a flood of traffic, making it unavailable to legitimate users.

Unlike simple rate limiting, DDoS attacks often come from many different sources (a "botnet"), making them harder to defend against manually.

Cloudflare's DDoS Shield

Cloudflare provides always-on DDoS protection that automatically detects and mitigates attacks across its global network. This happens transparently, often without you needing to configure anything specific.

It works by analyzing traffic patterns, identifying malicious requests, and filtering them out before they reach your infrastructure.

Cloudflare Security Levels

Cloudflare offers different security levels you can adjust for your domain, impacting how aggressively it challenges suspicious traffic:

  • Essentially Off: Minimal protection.
  • Low: Challenges the most threatening visitors.
  • Medium: Challenges moderate threat visitors.
  • High: Challenges all visitors that have previously exhibited threatening behavior.
  • I'm Under Attack!: Challenges all visitors to mitigate advanced DDoS attacks.

Edge Security Check

Consider the following scenarios. Which security measure is best suited to address each?

Recap: Securing Your Edge

You've learned how Rate Limiting prevents abuse and resource exhaustion from individual sources, while DDoS Protection shields your application from large-scale, coordinated attacks.

Leveraging Cloudflare's edge capabilities for these features means your applications are more resilient, performant, and secure right where they need to be.

Sıkça Sorulan Sorular

“İstek Sınırlandırma ve DDoS Koruması” dersi ücretsiz mi?

Evet — “İstek Sınırlandırma ve DDoS Koruması” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve Edge Computing with Cloudflare Workers & Deno kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. Edge Computing with Cloudflare Workers & Deno kursu toplamda 4 dersten oluşur.

“İstek Sınırlandırma ve DDoS Koruması” dersinde ne öğreneceğim?

İstek sınırlandırmayı yapılandırın ve kötüye kullanım ile DDoS saldırılarına karşı korunmak için Cloudflare'ın güvenlik özelliklerinden yararlanın. Edge Computing with Cloudflare Workers & Deno ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

Edge Computing with Cloudflare Workers & Deno öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te Edge Computing with Cloudflare Workers & Deno, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 2. dersidir.

“İstek Sınırlandırma ve DDoS Koruması” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu Edge Computing with Cloudflare Workers & Deno dersinde kod yazıp çalıştırabilir miyim?

Evet. Her Edge Computing with Cloudflare Workers & Deno dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. Kimlik Doğrulama ve Yetkilendirme
  2. İstek Sınırlandırma ve DDoS Koruması
  3. Gizli Bilgileri Güvenli Yönetme
  4. Girdi Temizleme ve Enjeksiyon Önleme
← Edge Computing with Cloudflare Workers & Deno Sayfasına Dön