JS Party: JavaScript, CSS, Web Development cover image

JS Party: JavaScript, CSS, Web Development

Web dev security school

Sep 21, 2023
Ron Perris, a Security Engineer at Reddit, discusses best practices and common pitfalls in web development security. Topics include dangerous URLs, JSON injection attacks, React security, simplifying backend development with Appwrite, and the role of security engineers and teams in organizations.
01:26:47

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Cross-site scripting attacks can be prevented by using content security policy and contextual output encoding when using data binding.
  • Developers should be cautious when handling user-controlled URLs to prevent URL-based script injection and utilize libraries like Lit for added protection.

Deep dives

Front-End Best Practices: Default to Using Cross-Site Scripting Protection

When using data binding, it is important to default to using cross-site scripting protection. This involves applying content security policy and contextual output encoding to prevent cross-site scripting attacks. Developers should be aware of the potential dangers of using dangerously set inner HTML and should use proper HTML entity escaping and attribute sanitization to mitigate the risks.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner