TWiki> CF Web>UserSupport>USGAdvising (revision 1)EditAttach

Online Advising system

Support for Byron Becker's development project.

Rationale for separate container

We want authentication to be handled by Apache, which we know how to configure and which provides the authentication information (i.e., logged in userid) to CGIs via the REMOTE_USER variable. In particular, this makes setting up CAS trivial.

If there was a CAS module for the current version of Play, it might make more sense to configure Play that way, even though it's not really appropriate for individual applications to handle their own authentication. But apparently there isn't.

The Play framework which Byron is planning to use for this application runs as an HTTP(S) server. In order to ensure that requests passed to Play by Apache are actually from Apache, it either needs to check client certificates (as is done by services108.cs to ensure that only the new web server can send it requests), or network configuration has to be such that only Apache can send it requests.

Byron can't seem to find a way of configuring Play to require and check client certificates.

The tightest possible network configuration is to allow connections only from localhost (i.e., listen on 127.0.0.1 only). This would still allow anybody logged into the machine on which it is running to send it requests, including specifying any REMOTE_USER they want. So the idea is to have a container that only application administrators can log into.

This also fits well with the suggestion from the Security group that this application should run on its own web server.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-12-09 - TrevorGrove
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback