Skip to content

Commit f4f21dc

Browse files
committed
docs(security): rewamp and addjustments to the security section
1 parent 2e904e6 commit f4f21dc

File tree

4 files changed

+88
-80
lines changed

4 files changed

+88
-80
lines changed

getting-started/work-with-controls/security.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

security/security-faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: Security FAQ
3-
page_title: Security FAQ
2+
title: FAQ
3+
page_title: FAQ
44
description: "Find answers to common questions about securing Telerik UI for ASP.NET AJAX controls, including how to report vulnerabilities, handle third-party dependencies, and receive security fixes."
55
slug: security/security-faq
66
tags: telerik, asp.net, ajax, security, web forms
77
published: True
8-
position: 2
8+
position: 3
99
---
1010

1111
# Frequently Asked Questions (FAQ)

security/security-information.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Security Information
3-
page_title: Security Information
2+
title: Overview
3+
page_title: Overview
44
description: "Learn how to secure Telerik UI for ASP.NET AJAX controls and your Web Forms app with best practices, vulnerability reporting, and control-specific security guidelines."
55
slug: security/security-information
66
tags: telerik, asp, net, ajax, asp.net, security, web forms, xss, owasp, csp
@@ -54,7 +54,6 @@ Our primary goal is to prevent security issues before product delivery. We use t
5454
- **Internal Logging**: Every potential security issue is logged, researched, tested, and verified. Issues deemed valid are assessed using a CVSS score, with critical issues prioritized.
5555
- **Third-Party Static Analysis Testing**: We utilize some of the leading security scanning tools in the market to scan for vulnerabilities in our software code. Regular scans are conducted, and results are reviewed to address vulnerabilities and mitigate false positives.
5656

57-
---
5857

5958
## Third-Party Dependencies Handling
6059

@@ -80,8 +79,7 @@ We closely monitor the [OWASP Top 10](https://owasp.org/www-project-top-ten/) li
8079

8180
Telerik UI for ASP.NET AJAX provides a variety of security-related articles for individual controls. These resources outline best practices and recommendations for securing each control and mitigating potential risks. Below is a list of available security articles for specific controls:
8281

83-
- [General Security Best Practices for ASP.NET AJAX Controls](https://docs.telerik.com/devtools/aspnet-ajax/getting-started/work-with-controls/security)
84-
- [Useful Security Tips For Telerik ASP.NET Web Forms apps](https://docs.telerik.com/devtools/aspnet-ajax/getting-started/work-with-controls/security#useful-tips)
82+
- [General Security Best Practices and Useful Tips for ASP.NET AJAX Controls](https://docs.telerik.com/devtools/aspnet-ajax/getting-started/work-with-controls/security) - Comprehensive guidance on securing Telerik ASP.NET AJAX controls and your ASP.NET Web Forms applications, with practical tips focusing on file upload, editing, and management features.
8583
- [AsyncUpload Control - Security Guidelines](https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security)
8684
- [CloudUpload Control - Security Guidelines](https://docs.telerik.com/devtools/aspnet-ajax/controls/cloudupload/security)
8785
- [Editor Control - Dialogs Security](https://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/dialogs/security)

security/security.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: Useful Tips
3+
page_title: Useful Tips
4+
description: "Learn more about how to secure the Telerik UI for ASP.NET AJAX controls and your ASP.NET Web Forms app."
5+
slug: security/security
6+
previous_url: getting-started/work-with-controls/security
7+
tags: telerik, asp, net, ajax, security, microsoft
8+
published: True
9+
position: 2
10+
---
11+
12+
# Useful Security Tips
13+
14+
In this article, you will find helpful security tips and resources to strengthen the protection of your ASP.NET Web Forms app and Telerik ASP.NET AJAX controls, those offering editing, file upload, and file management features.
15+
16+
## General Security Best Practices
17+
18+
These tips apply across many Telerik controls and help secure your application holistically:
19+
20+
* **Regular Upgrades**: Always perform regular upgrades to the latest version of Telerik UI for ASP.NET AJAX to ensure the highest levels of security, stability, and support for modern browsers. You can find upgrade instructions [here]({%slug introduction/installation/upgrading-instructions/upgrading-a-trial-to-a-developer-license-or-to-a-newer-version%}).
21+
22+
* **Web.config Additions**: Ensure you configure the mandatory additions to your `web.config` file. This article provides guidance on the essential web.config settings for Telerik's AJAX suite: [Configure Mandatory Additions to web.config file]({%slug general-information/web-config-settings-overview%}#configuring-mandatory-additions).
23+
24+
* **Encrypt appSettings Keys**: For better security, avoid storing sensitive information in plain text. Follow this guide to encrypt the `appSetting` section of your `web.config` using the `aspnet_regiis` tool: [How to Encrypt Telerik appSettings Keys]({%slug common-how-to-encrypt-the-telerik-appsettings-keys%})
25+
26+
* **Encrypt ViewState** - If you're using a version earlier than ASP.NET 4.5, ensure ViewState encryption is enabled by setting the `ViewStateEncryptionMode` and `EnableViewStateMAC` attributes. Here's a sample configuration:
27+
28+
````XML
29+
<configuration>
30+
<system.web>
31+
<pages viewStateEncryptionMode="Always" enableViewStateMac="true">
32+
````
33+
34+
The official recommendation by Microsoft is to upgrade to at least .NET 4.8 as noted at [.NET Release history](https://dotnet.microsoft.com/en-us/learn/dotnet/what-is-dotnet-framework). You can find more useful information at [Cryptographic Improvements in ASP.NET 4.5, pt. 2](https://devblogs.microsoft.com/dotnet/cryptographic-improvements-in-asp-net-4-5-pt-2/) and .
35+
36+
* **Encrypt Telerik WebResource Querystring**: For extra security, encrypt the Telerik WebResource querystring by enabling the `Telerik.ScriptManager.EnableHandlerEncryption` setting. This hides product version information in the page markup. Follow the steps here: [Encrypt Telerik WebResource Querystring]({%slug scriptmanager/encrypt-telerik-webresource-querystring%}).
37+
38+
* **Embedded jQuery Security**: Telerik ASP.NET AJAX components embed a custom, secure version of jQuery. Learn about the security enhancements and modifications made to ensure safe usage of jQuery within Telerik controls: [Embedded jQuery Security]({%slug introduction/radcontrols-for-asp.net-ajax-fundamentals/using-jquery/using-jquery%}#embedded-jquery-security).
39+
40+
41+
## Control-Specific Security Guidelines
42+
43+
### File Upload Security
44+
45+
* [RadAsyncUpload]({%slug asyncupload-security%}) - This article explains how to ensure information about the RadAsyncUpload configuration is secure and non-readable. Its transmission between the client and the server must be encrypted and impossible to decode, so the data cannot be used by a malicious entity in an attack against the server. Also, go through the [FAQ section]({%slug asyncupload-security%}#frequently-asked-questions) where you can find useful information and tips for the AsyncUpload security.
46+
47+
* [RadCloudUpload Security]({%slug cloudupload-security%}) - See how to ensure information about the RadCloudUpload configuration is secure and non-readable.
48+
49+
### Editor Control Security
50+
51+
* [RadEditor Security]({%slug editor/security%}) - learn how to ensure information about the RadEditor configuration is secure and non-readable. Its transmission between the client and the server must be encrypted and impossible to decode, so the data cannot be used by a malicious entity in an attack against the server.
52+
* [Prevent Cross-site Scripting (XSS)]({%slug editor/managing-content/prevent-cross-site-scripting-(xss)%}) - see how to enable the anti-XSS mechanism of RadEditor.
53+
54+
### Grid Control Security
55+
56+
* Security is a priority for RadGrid, especially when handling sensitive data. For a detailed guide on addressing potential security risks, visit the [Security]({%slug grid/security%}).
57+
58+
### File Explorer Control Security
59+
60+
* [Security]({%slug fileexplorer/security%}) - learn how to secure the user actions invoked through RadFileExplorer.
61+
62+
### Spell Control Security
63+
64+
* [Security]({%slug spell/security%}) - the article shows how to ensure information about the RadSpell configuration is secure and non-readable
65+
66+
67+
## Content Security Policy (CSP)
68+
Content Security Policy (CSP) is an effective security layer against cross-site scripting (XSS) and data injection attacks. However, full CSP compliance without the use of `unsafe-inline` and `unsafe-eval` is challenging for ASP.NET Web Forms applications. This limitation arises due to the heavy reliance on the Microsoft AJAX client-side library, which makes extensive use of functions like setTimeout(), setInterval(), inline scripts, and eval().
69+
70+
When integrating Telerik UI for ASP.NET AJAX with a CSP, it's necessary to include `unsafe-inline` and `unsafe-eval` directives for proper functionality.
71+
72+
For more details on how to configure your Web Forms application to use CSP, refer to the following resource: [Content Security Policy Mode]({%slug general-information/content-security-policy%}).
73+
74+
## Additional Resources
75+
76+
* **Security FAQ**: For more answers to common security-related questions, visit our [Security FAQ]({%slug security/security-faq%}).
77+
* **Upgrade Recommendations**: Regularly updating to the latest version of Telerik UI for ASP.NET AJAX is one of the best ways to ensure security. You can find the necessary upgrade steps [here]({%slug introduction/installation/upgrading-instructions/upgrading-a-trial-to-a-developer-license-or-to-a-newer-version%}).
78+
* **Security Blog** For more expert tips, check out the following blog post [First 5 Tips for Building Secure (Web) Apps](https://www.telerik.com/blogs/first-5-tips-for-building-secure-web-apps).
79+
80+
81+
82+

0 commit comments

Comments
 (0)