--- loncom/auth/lonuploadedacc.pm 2006/07/17 17:34:46 1.13 +++ loncom/auth/lonuploadedacc.pm 2008/11/12 20:01:09 1.14 @@ -1,7 +1,7 @@ # The LearningOnline Network # Access Handler for User Files # -# $Id: lonuploadedacc.pm,v 1.13 2006/07/17 17:34:46 albertel Exp $ +# $Id: lonuploadedacc.pm,v 1.14 2008/11/12 20:01:09 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -26,21 +26,34 @@ # http://www.lon-capa.org/ # +=head1 NAME + +Apache::lonuploadedacc + +=head1 SYNOPSIS + +The way this is supposed to work: + + User A has client machine C + User A is logged into LON-CAPA server S + needs file from user B + homeserver for user B is H + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head1 HANDLER SUBROUTINE + +This handler runs on H +To access a userfile: +Server S generates a token and puts it into the query string of URL for H +Client box C asks H for file with token issued by C +H now must ask S if token is valid, uses S's lond-command tokenauthuserfile + +=cut + package Apache::lonuploadedacc; -# -# The way this is supposed to work: -# -# User A has client machine C -# User A is logged into LON-CAPA server S -# needs file from user B -# homeserver for user B is H -# -# This handler runs on H -# To access a userfile: -# Server S generates a token and puts it into the query string of URL for H -# Client box C asks H for file with token issued by C -# H now must ask S if token is valid, uses S's lond-command tokenauthuserfile use strict; use Apache::Constants qw(:common :http);