dax
(Daniela)
Août 13, 2019, 10:24
4
Ensuite, vous pouvez commencer par ici
This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read.
What are themes and theme components?
A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features.
Let’s start with themes.
Themes
In general, themes are not supposed to be compatible …
Votre objectif est de créer un composant de thème, d’ajouter le <script> de publicité dans l’onglet /head et d’activer le composant de thème dans votre thème principal.
Lorsque votre composant de thème sera activé, vous devrez autoriser l’URL de votre script en suivant ce guide :
This guide explains how to use Content Security Policy (CSP) to mitigate Cross-Site Scripting (XSS) attacks in Discourse. It covers CSP basics, configuration, and best practices.
Required user level: Administrator
Summary
Content Security Policy (CSP) is a crucial security feature in Discourse that helps protect against Cross-Site Scripting (XSS) and other injection attacks. This guide covers the basics of CSP, how it’s implemented in Discourse, and how to c…