Web Crossing


Introduction

Installation & Upgrade

Web Crossing Features

Customizing & Scripting

User & Access Issues

User Authentication & Tracking

User Issues

Data Organization & Management

Performance Issues

Appendix

Site Map

Access Lists on Static Files or Macros

Access lists on static files
Access lists on macros

Access lists on static files

You can control access to static HTML files served by Web Crossing. To control access to a file:

Place it in the /htmlLinks directory on the server, inside the /webx directory (instead of in the /html directory).

Create a folder and place an appropriate access list on the folder, which you want to use to control access to your file. Then, inside the folder, make a link using the "Add Link" button. For the "URL to link to" field, put:

file=myFile.html

Obviously, you'll want to put the real name of your file. You can specify files in subdirectories within htmlLinks, too:

file=myDirectory/myFile.html

Access to the file will then be controlled through the access list permissions. Note that you can NOT get to the file through the usual static-file file path:

http://yourserver.com/myFile.html

since it's not in the /html directory.

Access lists on macros

You can use a similar method to control access to macros you've written. Use the procedure above to create a folder and place an access list on it. Then, instead of creating a link to a file in the "URL to link to" field, you'll put:

macro=myMacroName

Any access to that macro through that link will be controlled through the access list permissions on the containing folder. (Note that users can use the usual macro syntax to run the macro [yourserver.com/webx?myMacroName@@] and access controls will not be applied.)


A Non-Programmer's Guide to Web Crossing
by Sue Boettcher and Doug Lerner

© 2000 Web Crossing, Inc.