boinc/html
David Anderson c4f4421ff0 client/manager/server: use HTTPS for web RPCs if possible
The web RPCs done by the client during project attach
(lookup_account, create_account)
have an email address and password hash in their request.
Network sniffers could potentially see these,
so we should use HTTPS for these RPCs if possible.
However, not all BOINC projects have SSL-enabled web servers.
So I did the following:

- Change get_project_config.php to return an additional
  <web_rpc_url_base> element.
  This is SECURE_URL_BASE (if specified in the project's
  project.inc config file) or, if not, the master URL.
- This new element is parsed into the PROJECT_CONFIG structure.
- In calls to create_account and lookup_account,
  the Manager uses PROJECT_CONFIG::web_rpc_url_base
  if it's available, else the master URL.

So, the new Manager/client uses HTTPS for RPCs to projects
that have updated their get_project_config.php,
and specify a SECURE_URL_BASE with https:// prefix.

Android note: I added code to parse the new config element,
but didn't change the higher-level code;
Joachim will need to do this.
2014-01-28 13:25:59 -08:00
..
bt
drupal
inc Remote job submission: allow efficient batch query 2014-01-16 10:24:10 -08:00
languages/translations locale: Update compiled localization files 2014-01-19 12:17:28 -08:00
ops Remote job submission: allow a limit on the # of in-progress jobs per user 2014-01-13 21:52:55 -08:00
project.sample web: fix PHP warnings 2013-05-04 10:15:04 -07:00
queue
user client/manager/server: use HTTPS for web RPCs if possible 2014-01-28 13:25:59 -08:00
Makefile.am Unix build: Makefile changes for "make install", from Steffen Moeller 2013-05-20 15:19:13 -07:00