Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
security

29 Articles
{
,

}
Image
Direct link to the article Building a Honeypot Field That Works
forms security web components

Building a Honeypot Field That Works

Honeypots are fields that developers use to prevent spam submissions. They still work in 2025. But you got to set a couple of tricks in place so spambots can’t detect your honeypot field.
Image
Zell Liew on Oct 20, 2025 Updated on Oct 29, 2025
Image
Direct link to the article Passkeys: What the Heck and Why?
passkeys security webauthn

Passkeys: What the Heck and Why?

These things called passkeys sure are making the rounds these days. They were a main attraction at W3C TPAC 2022, gained support in Safari 16, are finding their way into macOS and iOS, and are slated to …

Image
Neal Fennimore on Apr 12, 2023 Updated on Oct 30, 2025
Image
Direct link to the article How to Safely Share Your Email Address on a Website
Email links security

How to Safely Share Your Email Address on a Website

Spammers are a huge deal nowadays. If you want to share your contact information without getting overwhelmed by spam email you need a solution. I run into this problem a few months ago. While I was researching how to solve …

Image
Lorenzo Bonannella on Oct 6, 2022
Image
Direct link to the article Using SVG in WordPress (2 Helpful Plugin Recommendations)
security SVG WordPress

Using SVG in WordPress (2 Helpful Plugin Recommendations)

SVG is a great image format, so it's nice to able to use it in WordPress. If you're looking to be using SVG in WordPress. , we've got you covered here with all the best options.
Image
Chris Coyier on Jan 21, 2022
Image
Direct link to the article CSS-Based Fingerprinting
security

CSS-Based Fingerprinting

Fingerprinting is bad. It’s a term that refers to building up enough metadata about a user that you can essentially figure out who they are. JavaScript has access to all sorts of fingerprinting possibilities, which then combined with the IP …

Image
Chris Coyier on Jan 3, 2022
Image
Direct link to the article HTML Sanitizer API
HTML sanitizer api security

HTML Sanitizer API

Three cheers for (draft stage) progress on a Sanitizer API! It’s gospel that you can’t trust user input. And indeed, any app I’ve ever worked on has dealt with bad actors trying to slip in and execute nefarious code …

Image
Chris Coyier on Dec 16, 2021
Image
Direct link to the article The Invisible JavaScript Backdoor
JavaScript security unicode

The Invisible JavaScript Backdoor

An interesting (scary) trick of an nearly undetectable exploit. Wolfgang Ettlinger:

What if a backdoor literally cannot be seen and thus evades detection even from thorough code reviews?

I’ll post the screenshot of the exploit from the post with the …

Image
Chris Coyier on Dec 8, 2021
Image
Direct link to the article Ain’t No Party Like a Third Party
security third-party

Ain’t No Party Like a Third Party

I’d like to tell you something not to do to make your website better. Don’t add any third-party scripts to your site.

That may sound extreme, but at one time it would’ve been common sense. On today’s …

Image
Jeremy Keith on Dec 3, 2021
Image
Direct link to the article Don’t Snore on CORS
cors security

Don’t Snore on CORS

Whatever, I just needed a title. Everyone’s favorite web security feature has crossed my desk a bunch of times lately and I always feel like that is a sign I should write something because that’s what blogging is. …

Image
Chris Coyier on Nov 10, 2021
  • 1
  • 2
  • 3
  • ...
  • 4
  • Older Image

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top
Advertisement