monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSRF does not work in iframe.


From: Petra Humann
Subject: Re: CSRF does not work in iframe.
Date: Thu, 14 Sep 2017 10:33:18 +0200

> Am 07.09.2017 um 09:07 schrieb Bhuvan Gupta <address@hidden>:
> 
>  I create a allMonit.html which have two iframe with src of two different 
> monit http interface running on two different system

Use apache2 with proxy:

ProxyPass /firstserver/ http://firstserver:2812/
ProxyPassReverse /firstserver/ http://firstserver:2812/
<Location /firstserver/>
          Require ip ...
          AuthName "Monitor"
          AuthType Basic
          AuthBasicProvider file 
          AuthUserFile "..."   
          require valid-user
</Location>

The iframe contains the source of http[s]://monitoringserver/firstserver/.

Regards.
Petra Humann




reply via email to

[Prev in Thread] Current Thread [Next in Thread]