Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

What is the default configuration for Set Access-Control-Allow-Origin header?

  • ventolinmono
  • ventolinmono's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago - 2 years 1 month ago #239475 by ventolinmono
Your LimeSurvey version: LimeSurvey Community Edition Version 5.1.10+210913
Own server or LimeSurvey hosting: Own server.
Survey theme/template: Fruity
==================
Hi Hello
What is the default configuration for "Set Access-Control-Allow-Origin" header under "Global settings" > "Interfaces"? Should It normally be on or off?

:)
Last edit: 2 years 1 month ago by ventolinmono.

Please Log in to join the conversation.

More
2 years 1 month ago #239476 by jelo
The default setting is On.

A bit more about the topic can be found here. Not specific to LimeSurvey.
web.dev/cross-origin-resource-sharing/

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: ventolinmono

Please Log in to join the conversation.

  • ventolinmono
  • ventolinmono's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #239534 by ventolinmono
Thank you very much. I look in the documentation and some other settings have their default status but I couldn't find it for this.

So it's kind of an independent setting even thougt RPC interface is disabled?

Thanks for that resource. It covers the topic from the very basics and it is what i needed :D

:)

Please Log in to join the conversation.

More
2 years 1 month ago #239535 by jelo

So it's kind of an independent setting even thougt RPC interface is disabled?
 
In LimeSurvey the setting is only relevant when using RPC.
If the setting is switched on, the header "Access-Control-Allow-Origin: *" will be set in RPC responses.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: ventolinmono

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago #243291 by holch
@carlosridg: You sir have just "won" a forum ban for spamming the forum. Congratulations.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose