Welcome to the LimeSurvey Community Forum

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

Problema ao tentar exibir iframe!

More
2 years 11 months ago #252694 by reckVCM
Boa tarde!

Guys, I'm trying to display an iframe on a form, but it doesn't work at all! When I exit the iframe it works.

In the attachment I added the error and the message is simply this:


What did I do to try to resolve it.


- I disabled XSS
- Allow iframe for origin only - I have already set the following in the server's .htaccess:

<IfModule mod_headers.c>
    Header set X-Frame-Options "ALLOW-FROM *"
</IfModule>

What do I need to do to make IFRAME work?

Please Log in to join the conversation.

More
2 years 11 months ago #252699 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
2 years 11 months ago - 2 years 11 months ago #252708 by reckVCM
Thanks for answering!

This way?

 
Last edit: 2 years 11 months ago by reckVCM.

Please Log in to join the conversation.

More
2 years 11 months ago #252711 by DenisChenu
Read all please : csrf needed too

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
2 years 11 months ago #252712 by reckVCM
But I already put the CSRF with the samesite and secure

Please Log in to join the conversation.

More
2 years 11 months ago - 2 years 11 months ago #252763 by DenisChenu
samesite for cookieParams and
Code:
sameSite
for csrfCookie
www.sondages.pro/iframe/
Code:
        'session' => array (             'sessionName' => "SPDemo",             //~ 'class' => 'application.core.web.DbHttpSession',             //~ 'connectionID' => 'db',             //~ 'sessionTableName' => '{{sessions}}',             'cookieParams' => array(                 'secure' => true,                 'httponly' => true,                 'samesite' => 'None',             ),         ),         'request' => array(             'enableCsrfValidation'=>true,             'csrfCookie' => array(                 'sameSite' => 'None',                 'secure' => true,             ),         ),

And Please : don't open an issue about this, LimeSurey GMBH want to delete this part from manual.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 2 years 11 months ago by DenisChenu.

Please Log in to join the conversation.

More
2 years 11 months ago #252766 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: holch, tpartner

Lime-years ahead

Online-surveys for every purse and purpose