From c81fbb3725617500e65291a97de8761fddbaea6d Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 7 Aug 2015 00:09:28 +0545 Subject: [PATCH] Dev Security Guidelines grammar spelling A few grammar and spelling things I noticed. Also some backslash that were supposed to literally appear in the text and thus need escaping (double backslash). --- developer_manual/general/security.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/developer_manual/general/security.rst b/developer_manual/general/security.rst index 6d71eb618..b2dda878e 100644 --- a/developer_manual/general/security.rst +++ b/developer_manual/general/security.rst @@ -38,7 +38,7 @@ Cross site scripting `Cross site scripting `_ happens when user input is passed directly to templates. A potential attacker might be able to inject HTML/JavaScript into the page to steal the users session, log keyboard entries, even perform DDOS attacks on other websites or other malicious actions. -Despite of the fact that ownCloud uses Content-Security-Policy to prevent the execution of inline JavaScript code developers are still required to prevent XSS. CSP is just another layer of defense that is not implemented in all web browsers. +Despite the fact that ownCloud uses Content-Security-Policy to prevent the execution of inline JavaScript code developers are still required to prevent XSS. CSP is just another layer of defense that is not implemented in all web browsers. To prevent XSS in your app you have to sanitize the templates and all JavaScripts which performs a DOM manipulation. @@ -128,11 +128,11 @@ Code executions and file inclusions can be easily prevented by **never** allowin