Home/Security
Topic

Security

1,037 articles on Security.

11,746 articles
Security — Media encryption

Media encryption

Learn digital rights management concepts, and the commands needed to get from a raw mov file to encrypted media packaged for MPEG-DASH or HLS using both Clear Key or Widevine encryption.

Wweb.dev·Security
Security — Check site security

Check site security

You won't be able to build a PWA without HTTPS. Serving your site over HTTPS is fundamental for security, and many APIs won't work without it. If you need to justify implementation costs, find out why HTTPS matters.

Wweb.dev·Security
Security — SameSite cookies explained

SameSite cookies explained

Learn to mark your cookies for first-party and third-party usage with the SameSite attribute. You can enhance your site's security by using SameSite's Lax and Strict values to improve protection against CSRF attacks. Specifying the new None attribute lets you explicitly mark your cookies for cross-site usage.

Wweb.dev·Security
Security — What are security attacks?

What are security attacks?

An insecure application could expose users and systems to various types of damage. When a malicious party uses vulnerabilities or lack of security features to their advantage to cause damage, it is called an attack. We'll take a look at different types of attacks in this guide so you know what to look for when securing your application.

Wweb.dev·Security
Security — Security headers quick reference

Security headers quick reference

This article lists the most important security headers you can use to protect your website. Use it to understand web-based security features, learn how to implement them on your website, and as a reference for when you need a reminder.

Wweb.dev·Security
Security — Security should not be so scary!

Security should not be so scary!

When the word "security" comes to mind, it's usually in the context of bad news. But security is something to be taken as a positive and necessary part of web development just like "user experience" or "accessibility".

Wweb.dev·Security
Security — SMS OTP form best practices

SMS OTP form best practices

Asking a user to provide a one-time password is a common way to confirm a user's identity. Learn best practices to build an SMS OTP form, with great user experience.

Wweb.dev·Security
Security — RP ID deep dive

RP ID deep dive

Learn how to configure your RP ID and platform associations to enable seamless passkey authentication across subdomains, multiple sites, and mobile applications.

Wweb.dev·Security
Security — Passkeys within iframes

Passkeys within iframes

Learn how to securely implement passkeys (WebAuthn) within cross-origin iframes using browser security policies and server-side verification.

Wweb.dev·Security
Security — Why HTTPS matters

Why HTTPS matters

HTTPS protects the integrity of your website, protects the privacy and security of your users, and is a prerequisite for new and powerful web platform APIs.

Wweb.dev·Security