Changelog Master Feed cover image

Changelog Master Feed

Web dev security school (JS Party #293)

Sep 21, 2023
01:26:47
Snipd AI
Guest Ron Perris, Security Engineer at Reddit, discusses best practices and common pitfalls in web dev security. Topics covered include dangerous URLs, JSON injection attacks, React security, and securing front-end application code. The episode provides educational insights for developers to enhance their security practices.
Read more

Podcast summary created with Snipd AI

Quick takeaways

  • Front-end security: Use contextual output encoding and validate dangerous URLs to prevent cross-site scripting attacks.
  • Server-side security: Follow secure coding practices, implement input validation, and employ secure coding libraries to mitigate common vulnerabilities.

Deep dives

Front-end Security Best Practices

When it comes to front-end security, it is important to default to using cross-site scripting protection when doing data binding. This means applying contextual output encoding to prevent attacker-controlled content from being executed as scripts on the page. It is also crucial to watch out for dangerous URLs and URL-based script injection. When accepting user-provided URLs, ensure they are validated and correctly used in attribute or content contexts to prevent cross-site scripting attacks. Additionally, be aware of the risks of server-side request forgery and use tools or libraries that handle URL validation and protection against DNS rebinding attacks.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode