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
1 year 3 months ago - 1 year 3 months 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: 1 year 3 months ago by ventolinmono.

Please Log in to join the conversation.

More
1 year 3 months 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
1 year 3 months 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
1 year 3 months 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
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 2 weeks ago #243291 by holch
@carlosridg: You sir have just "won" a forum ban for spamming the forum. Congratulations.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose