[system] / trunk / webwork2 / lib / WeBWorK / Upload.pm Repository:
ViewVC logotype

Diff of /trunk/webwork2/lib/WeBWorK/Upload.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 420 Revision 455
1################################################################################
2# WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester
3# $Id$
4################################################################################
5
6package WeBWorK::Upload;
7
8=head1 NAME
9
10WeBWorK::Upload - everything we need to be confident about an upload.
11
12=cut
13
14use Data::UUID;
15use MD5 qw();
16use WeBWorK::Constants qw(SECRET);
17
1# This package allows a file to be reliably cached on disk and replaced with 18# This package allows a file to be reliably cached on disk and replaced with
2# a string that universally and unforgeably represents that file, and then 19# a string that universally and unforgeably represents that file, and then
3# retrieved later given that string. 20# retrieved later given that string.
4
5package WeBWorK::SecureUpload;
6
7# Everything we need to be confident about the upload
8use WeBWorK::Constants qw(SECRET);
9use MD5 ();
10use Data::UUID;
11
12 21
13sub store_upload {} 22sub store_upload {}
14 23
15sub retrieve_upload {} 24sub retrieve_upload {}
16 25

Legend:
Removed from v.420  
changed lines
  Added in v.455

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9