Actions

Translations

Global settings/9/en: Difference between revisions

From LimeSurvey Manual

(Importing a new version from external source)
(Importing a new version from external source)
Line 3: Line 3:
*'''Filter HTML for XSS''': It is  turned 'on' by default. They will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (JavaScript code for instance). The idea behind this is to prevent a survey operator to add a malicious script in order to get his permissions raised on your system. '''However, if you want to use any script objects like Javascript scripts of Flash applets in your surveys, you will need to switch this off''' (specific scripts for video hosting platforms can be used).  
*'''Filter HTML for XSS''': It is  turned 'on' by default. They will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (JavaScript code for instance). The idea behind this is to prevent a survey operator to add a malicious script in order to get his permissions raised on your system. '''However, if you want to use any script objects like Javascript scripts of Flash applets in your surveys, you will need to switch this off''' (specific scripts for video hosting platforms can be used).  
{{Hint|Text=The super admins never have their HTML filtered when saved or on public survey view. In order to see the effects of XSS filtering, it is advised to use a regular user account.}}
{{Hint|Text=The super admins never have their HTML filtered when saved or on public survey view. In order to see the effects of XSS filtering, it is advised to use a regular user account.}}
{{Alert|title=Warning|text=With XSS enabled, some parts of the expression manager system can not be used: see [[Expression Manager#XSS security|XSS and Expression Manager]].}}
{{Alert|title=Warning|text=With XSS enabled, some parts of the expression manager system can not be used: see [[ExpressionScript#XSS security|XSS and ExpressionScript]].}}
*'''Disable question script for XSS restricted user''' {{NewIn|4.1.0}}: Set to 'on' by default, this mean simple user can npot add or update scripts in question editor. they can see it but don't update it. If you disable XSS protection : then this settings are not used. If you set it to 'off', then even with XSS filtering active : any user can add or update script in question.
*'''Group member can only see own group''': By default, non-admin users defined in the LimeSurvey management interface will only be able to see other users only if they belong to at least one common group. If the administrator sets this to 'No', then the users can see all the users defined in the LimeSurvey [[Manage users|User Control panel]], regardless of the group they belong to
*'''Group member can only see own group''': By default, non-admin users defined in the LimeSurvey management interface will only be able to see other users only if they belong to at least one common group. If the administrator sets this to 'No', then the users can see all the users defined in the LimeSurvey [[Manage users|User Control panel]], regardless of the group they belong to
*'''IFrame embedding allowed''': This option can be used to indicate whether or not a browser should be allowed to render the survey page in a <frame>, <iframe> or <object>. You can use this to avoid clickjacking attacks, by ensuring that your survey is not embedded into other sites. If you set it to 'Allow' (the default value), there is no restriction. Setting this to 'Same origin' will make the content to be loaded only if the survey runs on the same domain and port as the including <frame>, <iframe> or <object>
*'''IFrame embedding allowed''': This option can be used to indicate whether or not a browser should be allowed to render the survey page in a <frame>, <iframe> or <object>. You can use this to avoid clickjacking attacks, by ensuring that your survey is not embedded into other sites. If you set it to 'Allow' (the default value), there is no restriction. Setting this to 'Same origin' will make the content to be loaded only if the survey runs on the same domain and port as the including <frame>, <iframe> or <object>

Revision as of 16:50, 19 May 2020

Message definition (Global settings)
==Security==
*'''Survey preview only for administration users''': By default, the preview of inactive surveys is restricted only to authenticated. If you set this to 'No', any person can test your survey using the survey URL – without logging in to the administration and without having to activate the survey first
*'''Filter HTML for XSS''': It is turned 'on' by default. They will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (JavaScript code, for instance). The idea behind this is to prevent a survey operator to add a malicious script to get his permissions raised on your system. '''However, if you want to use any JavaScript in your surveys, you will need to switch this off''' (specific scripts for video hosting platforms can be used). 
{{Hint|Text=The super admins never have their HTML filtered when saved or on public survey view. To see the effects of XSS filtering, it is advised to use a regular user account.}}
{{Alert|title=Warning|text=With XSS enabled, some parts of the expression manager system cannot be used: see [[ExpressionScript_-_Presentation#XSS security|XSS and ExpressionScript]].}}

Security

  • Survey preview only for administration users: By default, the preview of inactive surveys is restricted only to authenticated. If you set this to 'No', any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first
  • Filter HTML for XSS: It is turned 'on' by default. They will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (JavaScript code for instance). The idea behind this is to prevent a survey operator to add a malicious script in order to get his permissions raised on your system. However, if you want to use any script objects like Javascript scripts of Flash applets in your surveys, you will need to switch this off (specific scripts for video hosting platforms can be used).
 Hint: The super admins never have their HTML filtered when saved or on public survey view. In order to see the effects of XSS filtering, it is advised to use a regular user account.
  Warning : With XSS enabled, some parts of the expression manager system can not be used: see XSS and ExpressionScript.


  • Disable question script for XSS restricted user (New in 4.1.0 ): Set to 'on' by default, this mean simple user can npot add or update scripts in question editor. they can see it but don't update it. If you disable XSS protection : then this settings are not used. If you set it to 'off', then even with XSS filtering active : any user can add or update script in question.
  • Group member can only see own group: By default, non-admin users defined in the LimeSurvey management interface will only be able to see other users only if they belong to at least one common group. If the administrator sets this to 'No', then the users can see all the users defined in the LimeSurvey User Control panel, regardless of the group they belong to
  • IFrame embedding allowed: This option can be used to indicate whether or not a browser should be allowed to render the survey page in a <frame>, <iframe> or <object>. You can use this to avoid clickjacking attacks, by ensuring that your survey is not embedded into other sites. If you set it to 'Allow' (the default value), there is no restriction. Setting this to 'Same origin' will make the content to be loaded only if the survey runs on the same domain and port as the including <frame>, <iframe> or <object>
 Hint: Theoretically, it is working. However, this function might not work when it is enabled because it heavily depends on the used web browser and whether it allows iframes or not.
  • Force HTTPS: This is set by default to "Don't force on/off". Switch the setting to "On" to force the connection to use HTTPS
  Attention : If your server doesn't support HTTPS properly, you can lock yourself from the system! Therefore, click on the "check if this link works" located below the option. If the link does not work and you turn on HTTPS, LimeSurvey will break and you won't be able to access it.


 Hint: If you activate HTTPS by mistake, you can deactivate it in application/config/config.php file, changing the value of ssl_emergency_override to 1.