Skip to content

Commit 9b2726e

Browse files
committed
Sync with Kendo UI Professional
1 parent d1e6c7b commit 9b2726e

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs-aspnet/html-helpers/helper-basics/content-security-policy.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,27 @@ position: 6
99

1010
# Content Security Policy
1111

12-
[Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) is a supplementary security approach which helps you detect and handle specific security attacks such as Cross-Site Scripting (XSS) and data-injection ones.
12+
[Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) is a supplementary security approach which helps you prevent specific security attacks such as Cross-Site Scripting (XSS) and data-injections.
13+
14+
>tipAs of R3 2023, {{ site.product }} is fully compatible with strict Content Security Policy. The `unsafe-inline` keyword is no longer required in the "style-src" directive.
15+
16+
The following code shows how to turn on the strict CSP mode:
17+
18+
```
19+
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src 'self'; script-src 'self' https://kendo.cdn.telerik.com https://code.jquery.com/; style-src 'self' https://kendo.cdn.telerik.com;" />
20+
```
1321

1422
If the strict CSP mode is enabled, some browser features are disabled by default:
1523

16-
* Inline JavaScript, such as `<script></script>`, or DOM event attributes, such as `onclick`, are blocked. All script code must live in separate files that are served from the allow-listed domain.
24+
* Inline JavaScript and CSS, such as `<script></script>`, `<style></style>`, or DOM event attributes, such as `onclick`, are blocked. All JavaScript and CSS code must live in separate files that are served from the allow-listed domain.
1725

1826
* Dynamic code evaluation through `eval()` and string arguments for both `setTimeout` and `setInterval` are blocked.
1927

2028
## (For R1 2023 SP1 and Later) Working with Telerik UI for {{ site.framework }} Components
2129

22-
As of R1 2023 release, the Kendo UI scripts address the `unsafe-eval` directive for all components except for the [Spreadsheet](https://docs.telerik.com/kendo-ui/controls/spreadsheet/overview). For the bigger part of its core engine, the Kendo UI for jQuery Spreadsheet uses the `Function` evaluation, and rewriting the logic of the component will lead to a great number of breaking changes.
30+
As of R1 2023 release, the Kendo UI scripts address the `unsafe-eval` directive for all components except for the [Spreadsheet](https://docs.telerik.com/kendo-ui/controls/spreadsheet/overview).
31+
32+
> For the bigger part of its core engine, the Kendo UI for jQuery Spreadsheet uses the `Function` evaluation, and rewriting the logic of the component will lead to a great number of breaking changes.
2333
2434
The rest of the Kendo UI components and internal mechanisms have been rewritten to discard the usage of the `eval()` and `new Function()` calls.
2535

docs/intro/installation/using-license-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ position: 5
88

99
# Setting Up the License File
1010

11-
Using any Kendo UI for jQuery scripts that are [installed through NPM]({% slug kendoui_npm_packages_kendoui_installation %}), imported through the [Kendo UI CDN]({% slug kendoui_cdn_services_installation %}), or downloaded as trial bundles requires you to provide a personal license file. Follow the steps in this article to download a license file, add it to your application, and then reference it.
11+
Using any Kendo UI for jQuery scripts that are [installed through NPM]({% slug kendoui_npm_packages_kendoui_installation %}) or imported through the [Kendo UI CDN]({% slug kendoui_cdn_services_installation %}) requires you to provide a license file. Follow the steps in this article to download a license file, add it to your application, and then reference it.
1212

1313
Providing a license file is not required when using distribution methods such as NuGet, Bower, and locally downloaded Kendo UI commercial bundles.
1414

0 commit comments

Comments
 (0)