home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / bbs102e.zip / bbs.ctl < prev    next >
Text File  |  1997-02-01  |  2KB  |  52 lines

  1. ;this contains dir" specific privilege information for the BBS package
  2. ; Each entry should have the structure:
  3. ;     dir  priv_list  , root_dir
  4. ; Where (note that the comma is REQUIRED):
  5. ;    dir : is the value of the "dir" option
  6. ;       if dir ends with an *, then this entry also applies to all
  7. ;       subdirectories of dir
  8. ;    priv_list  : privileges required to access this dir (and it's 
  9. ;        subdirectories).  A *, or a blank list, means "no access control"
  10. ;       (entry is allowed to all clients with bbs rights).
  11. ;       Thep privileges can also be used to determine upload ratios
  12. ;       (using a priv_ratios.!yyy=' 1 2 ' type of parameter in bbs.ini)
  13. ;    root_dir (optional):
  14. ;              the fully qualified root directory for dir. If not
  15. ;               specified, the "file_dir" default is used.
  16. ;              Note that the xxx in the dir=xxx option is relative
  17. ;              to root_dir, or file_dir.
  18. ; Note that / and \ are equivalent, and that leading and trailing \ (or /)
  19. ; are ignored
  20. ;
  21. ; Examples:
  22. ;   /dir1/*   *
  23. ;   /dir2/*   CATS 
  24. ;   /dir3     DOGS , d:\others
  25. ;   /dir4   TIGERS , d:\zoo
  26. ;
  27. ; Note that *  in /dir1/* is a wildcard,
  28. ;           * (in privilege list) is "all clients allowed"
  29. ;           an empty ratio list implies "use defaults"
  30. ;
  31. ; A note on matching.
  32. ;  BBS uses a "best match strategy" ---
  33. ;   If several entries can match the requested DIRL...
  34. ;     1) Exact matches take precedence
  35. ;     2) The wildcard match with the "longest portion before the *"
  36. ;        is used.
  37. ;     3) In case of ties, the match with the "longest portion after 
  38. ;         the *" is used.
  39. ;     Thus, if your DIR is FOOD/FRUIT/ORANGES
  40. ;     then the order (with first being chosen before last) is:
  41. ;               /FOOD/FRUIT/ORANGES  (the exact match)
  42. ;               /FOOD/*/ORANGES
  43. ;               /FOOD/*
  44. ;               /*
  45. ;     (these 4 entries can appear in any order in this file, with no
  46. ;      effect on precedence).
  47. ;
  48. ; For otherwise open systems, we  highly recommend including a
  49. ; /* * entry (permit entry to all directories for all users,
  50. ; unless otherwise specified).
  51. /* *
  52.