Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: "Gabriel Kerneis" <gabriel@kerneis.info>
To: galene@lists.galene.org
Subject: [Galene] Re: Galène with PHP
Date: Tue, 02 Mar 2021 21:48:27 +0100
Message-ID: <9a1ff2e7-937b-4e95-91f4-811d73b61974@www.fastmail.com> (raw)
In-Reply-To: <874kht1jxv.wl-jch@irif.fr>

On Tue, 2 Mar 2021, at 19:37, Juliusz Chroboczek wrote:
> > I was wondering if it were possible to use Galène 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 everything
> > before letting them in.
> 
> 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 requirements, and then updates the groups json file to allow the user in. Galene will automatically reload the json file when the PHP app updates it. Of course, you'll want to be really careful about atomically updating the file (I don't know PHP well enough to know whether this is possible, but my recollection from a couple decades ago is that it could use on-disk lock files).

Gabriel

  reply	other threads:[~2021-03-02 20:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+_U3xZq9jS05zbEz4HAQfX+oUAprigJR4uifQYPpHDzsTSP3Q@mail.gmail.com>
2021-03-02 18:37 ` Juliusz Chroboczek
2021-03-02 20:48   ` Gabriel Kerneis [this message]
     [not found]   ` <CA+_U3xavep8nMpdY5Sg1VmDUf24UfT0nx4+xXB2Q=dcvo2iq5Q@mail.gmail.com>
2021-03-05 13:27     ` Juliusz Chroboczek
2021-03-05 15:56       ` Jeroen van Veen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a1ff2e7-937b-4e95-91f4-811d73b61974@www.fastmail.com \
    --to=gabriel@kerneis.info \
    --cc=galene@lists.galene.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Galène videoconferencing server discussion list archives

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.galene.org/galene

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 galene galene/ https://lists.galene.org/galene \
		galene@lists.galene.org
	public-inbox-index galene

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git