From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout5-smtp.messagingengine.com (unknown [64.147.123.21]) by mail.toke.dk (Postfix) with ESMTPS id 33DB380290C for ; Tue, 2 Mar 2021 21:49:02 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kerneis.info header.i=@kerneis.info header.b=SBQYoeGy; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=XcOhyWXT Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4625F16D2 for ; Tue, 2 Mar 2021 15:48:50 -0500 (EST) Received: from imap3 ([10.202.2.53]) by compute6.internal (MEProxy); Tue, 02 Mar 2021 15:48:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kerneis.info; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm1; bh=R/xRO I5nJ4p2bTLwbEo76AS7fsngU7V4V1iLPdS5qE4=; b=SBQYoeGyd/yiAuRwz1IZn kZ/PMr/kISv5OlP/W1cEVu9B9NtHwdbkG+uCSNFFxWYfDf2L7bYJ/ajjP8JaIsFn QBP1N280hsloSu/G0lynr7Tk8I1fMD+0qBbZTlrlqPvR8QeFGR1j06ca49xuFqmv QNUjsrALJkEfc5Te7eCAAYEXfdPKnBeSMc6Fr8k/ToKqaaauDgd57ooGnyzwi6Ra zq7SY/xA2Yp3twF1/vjkmkeEn+4TZYwLzbFZolZ3mz7SXs6XjYV18hdTJ7J/rckZ TgmBlrB6iLk4+e22GmYMLxH2EliLSom1PiK1QMW48vBZjrButDqWKcPAo92LMoc1 g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=R/xROI5nJ4p2bTLwbEo76AS7fsngU7V4V1iLPdS5q E4=; b=XcOhyWXTNAWOMQj4ene+ZN3QQcJvcBA2HrYO6pe3d6s286rCorv/WDBkk tR1qftl6GFMaFjXa5HheEmVkedkoh9ZypKdyTbkLLmP0tqS126FblFWfh91KT6+6 qtbP9GEcRJjXEyCR53SER2zcxBMRvF1+gwZnFAIIA8lu1rnDo8WQ0s3Y081KjxJR SyncwTg8Ml7Ku9GHXTcIdt5DNt1bFXcHRJ4jBiFa+fvgy5KL9aWznbVS3kpYugtG 8+jdg224FFZgLA5aQ95L/3LS48MFwM5EGxqa2Ls7u3UuWIALMrZufwLZzYicp/Ho bjt7A89f0PDVHk4AClifaaapwWmEg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddttddgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgfgse htqhertderreejnecuhfhrohhmpedfifgrsghrihgvlhcumfgvrhhnvghishdfuceoghgr sghrihgvlheskhgvrhhnvghishdrihhnfhhoqeenucggtffrrghtthgvrhhnpeehjeevtd eitdeltdegheeugefgledvveeuieevtddtheefkeeitefhfffgleekueenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrggsrhhivghlsehkvg hrnhgvihhsrdhinhhfoh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2660A4200DF; Tue, 2 Mar 2021 15:48:49 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-206-g078a48fda5-fm-20210226.001-g078a48fd Mime-Version: 1.0 Message-Id: <9a1ff2e7-937b-4e95-91f4-811d73b61974@www.fastmail.com> In-Reply-To: <874kht1jxv.wl-jch@irif.fr> References: <874kht1jxv.wl-jch@irif.fr> Date: Tue, 02 Mar 2021 21:48:27 +0100 From: "Gabriel Kerneis" To: galene@lists.galene.org Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: A4SKOEUMETLJUVSBXL4UUGPXISFY4H6R X-Message-ID-Hash: A4SKOEUMETLJUVSBXL4UUGPXISFY4H6R X-MailFrom: gabriel@kerneis.info X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] =?utf-8?q?Re=3A_Gal=C3=A8ne_with_PHP?= List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 2 Mar 2021, at 19:37, Juliusz Chroboczek wrote: > > I was wondering if it were possible to use Gal=C3=A8ne inside a PHP = page, as we want > > to get our students to fill out some details before joining in, and = we thought > > that we could use php SESSION cookies to check they've completed eve= rything > > before letting them in. >=20 > Sure. What you'll want to do depends on your security model, though. Another option would be to write a PHP app that validates whatever requi= rements, and then updates the groups json file to allow the user in. Gal= ene will automatically reload the json file when the PHP app updates it.= Of course, you'll want to be really careful about atomically updating t= he file (I=C2=A0don't know PHP well enough to know whether this is possi= ble, but my recollection from a couple decades ago is that it could use = on-disk lock files). Gabriel