previous Chapterpreviousupnext  german   Contents    Index  

4.7.7 Public portal page for anonymous access

Note that public portal pages must have been enabled by the BSCW system administrator by setting INDEX-PAGE-EXT='index*.html' in the BSCW configuration file.

BSCW folders allowing public access may be equipped with an additional portal page for anonymous access. This public portal page must be named index.html (see also “Other languages” below).

The mechanism of index.html in a public BSCW folder is similar to the presence of an index.html file in a Web site directory: Whereas the members of the folder may use the ‘normal’ BSCW user interface to work on the folder, the anonymous user is presented with a different interface, the portal page index.html. This way, the actual folder and its contents are hidden from anonymous access. Anonymous users may even not be aware that they access a BSCW server.

Here is how you create portal pages in BSCW:

  • Edit index.html to your needs. Relative links inside index.html may refer to objects in your folder.
  • Upload the file index.html to your folder.
  • Open the folder to public access via action menu   Access    Public Access .
  • Anonymous users may now access your folder using the public addressing scheme in BSCW:
    http://your-bscw-server/pub/bscw.cgi/folder-id
  • As an optional extension, you may open the portal page index.html for anonymous upload by including BSCW actions (e.g., ‘Add Document’) so that an anonymous user may directly invoke these actions within the portal (see ‘Anonymous upload’ below).

Using the URL

http://your-bscw-server/bscw/bscw.cgi/folder-id
will present the BSCW folder for non-anonymous users in its full functionality.

Anonymous upload

An application example for public portal pages with anonymous upload is the organization of a conference for which prospective participants are to anonymously upload their contributions into a BSCW workspace. We will use this example for a demonstration.

The file index.html would consist of the conference home page, including links to graphics, documents, other HTML pages etc., all stored and managed in your BSCW folder by the workspace members, who could be thought of as the organizing committee.

To let the prospective contributors submit their papers and store them — invisible for the other authors — in the conference folder, you would include the ‘Add Document’ action into the portal page index.html (or into another HTML page in the respective folder) by adding a link like the following:

http://your-bscw-server/bscw/bscw.cgi/folder-id?op=addoc

You may also modify the BSCW upload form to better suit your needs. Copy the BSCW upload form (you may need to ask your BSCW system administrator for its precise location in your particular BSCW installation)

bscw-directory/BSCW43/messages/english/upload.html
from your BSCW server and modify it to your liking; please make sure that you do not remove or change the relevant HTML FORM variables. The following example (xyz_upload.html) shows how the HTML code might look like:


<!-- Example for a modified upload form xyz_upload.html -->
<x!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD><TITLE>Upload contribution</TITLE></HEAD>
<BODY>
<H1>Upload your contribution to XYZ workshop</H1>

<FORM ENCTYPE="multipart/form-data"
	 ACTION=".?op=_addoc"
	 METHOD=POST>
<INPUT TYPE="hidden" NAME="op" VALUE="addoc">

Select your local document:<BR>
<INPUT NAME="files" TYPE="file" SIZE=60 ACCEPT="*/*">
<P>
<INPUT TYPE="submit" VALUE="Upload your document">
</FORM>

</BODY>
</HTML>

Put xyz_upload.html into your BSCW conference folder so that you can refer to xyz_upload.html via a relative link in index.html:

<A HREF="./xyz_upload.html"> Upload document here </A>

Note that anonymous access must include the right to add documents to this folder (see 4.7.6.1).

Other languages

All available languages other than English may also be used for public portal pages. E.g., if you provide an additional file index-de.html in the portal folder with a German translation of the file index.html, anonymous users who have selected the German language interface for their browser will be shown the German version of the portal page.


 previous Chapterpreviousupnext  german   Contents    Index