User Tools

Site Tools


access_control

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
access_control [2016/03/22 13:01]
g00r00 [Access Control Strings]
access_control [2016/03/22 13:41]
g00r00 [Access Control Strings]
Line 7: Line 7:
 Each ACS function is nothing more than a single character, most often followed by a parameter afterwards that supplements the function.  The most basic example of this would probably be an ACS of "s20" An ACS of "s20" uses the function "S" which means security level, followed by 20, which defines is parameter.  The result of this ACS is that the user must have a security level of 20 or higher to have access. Each ACS function is nothing more than a single character, most often followed by a parameter afterwards that supplements the function.  The most basic example of this would probably be an ACS of "s20" An ACS of "s20" uses the function "S" which means security level, followed by 20, which defines is parameter.  The result of this ACS is that the user must have a security level of 20 or higher to have access.
  
-In addition to this basic function and parameter system, ACS can use parenthesis to force an order of evaluation, and also has the typical Boolean operators AND OR NOT that can be used along with them.  Let's look at one example of a more complex ACS before we move on:+In addition to this basic function and parameter system, ACS can use parenthesis to force an order of evaluation, and also offers the typical Boolean operators AND OR NOT.  Let's look at one example of a more complex ACS before we move on:
  
      (s20!s21|s255)|u10|(h22!h23)      (s20!s21|s255)|u10|(h22!h23)
Line 27: Line 27:
 </code> </code>
  
-For most System Operators just basic ACS functions will be used, so its typically not nearly as complex as the example shown above.  Generally speaking, the security level and group ACS commands are used to build the access requirements of their BBS, meaning that a typical ACS might be "s20" or "s20g1" to require the user has 20 security and be in group 1.+For most System Operators just basic ACS functions will be used, so its typically not nearly as complex as the example shown above.  Generally speaking, the security level and group ACS commands are used to build the access requirements of their BBS, meaning that a typical ACS might be "s20" or "s20g1".
 ===== ACS Function Reference ===== ===== ACS Function Reference =====
  
Line 34: Line 34:
                  the age the user must be in order to pass.                  the age the user must be in order to pass.
  
-          Dx   - This command is used to check if a user has a certain flag+          Dx   This command is used to check if a user has a certain flag
                  toggled ON in their SECOND set of flags.  Where X is the                  toggled ON in their SECOND set of flags.  Where X is the
                  flag which the user must have in order to pass.  For                  flag which the user must have in order to pass.  For
                  example: DA will require the user to have user access flag                  example: DA will require the user to have user access flag
                  D in flag set 2 in order to pass.                  D in flag set 2 in order to pass.
 +<code>
           Ex  -  This command is used to check the user's current graphics           Ex  -  This command is used to check the user's current graphics
                  mode.  Where X is one of the following:                  mode.  Where X is one of the following:
  
-                      1 - User must have ANSI graphics +                    1 - User must have ANSI graphics 
-                      0 - User must have ASCII (none) graphics. +                    0 - User must have ASCII (none) graphics 
 +</code>
           Fx  -  This command is used to check if a user has a certain flag           Fx  -  This command is used to check if a user has a certain flag
                  toggled ON in their FIRST set of flags.  Where X is the                  toggled ON in their FIRST set of flags.  Where X is the
Line 62: Line 62:
                  after).  For example: H12 will prevent the user from                  after).  For example: H12 will prevent the user from
                  accessing this command before 12 noon on any given day.                  accessing this command before 12 noon on any given day.
 +
 +          Mx  -  This command is used to check if a user is access a
 +                 command at a certain minute.  Where X is the minute in
 +                 the 00-59 range.  For example: M15 means that it must
 +                 be quarter past the hour or later.
  
           Nx  -  This command is used to check if a user is online a           Nx  -  This command is used to check if a user is online a
Line 69: Line 74:
  
           OA  -  This command is used to check the status of the user's           OA  -  This command is used to check the status of the user's
-                 node message availibility.  If the user is able to+                 node message availability.  If the user is able to
                  receive node messages, OA will return true.  False if                  receive node messages, OA will return true.  False if
                  they are not available.                  they are not available.
Line 80: Line 85:
                  called Boolean menu command.  For more information, see                  called Boolean menu command.  For more information, see
                  the menu commands: -P, -Y, and -N.                  the menu commands: -P, -Y, and -N.
 +
 +          OM  -  This command is used to check if the user has System
 +                 Operator access to the current message base, or is
 +                 the owner of the current message when reading messages
 +                 in the Message bases (and therefore has Sysop-equivalent
 +                 access to just that message)
 +
 +          ON  -  This command is True if the last message new scan had
 +                 new messages read by the user.
  
           OP  -  This command is used to check the status of the user's           OP  -  This command is used to check the status of the user's
Line 86: Line 100:
                  false.  This option is useful to restrict users from                  false.  This option is useful to restrict users from
                  downloading if they're not active message posters.                  downloading if they're not active message posters.
 +
 +          OV  -  This command returns True if the user has validated their
 +                 e-mail address
 +
 +          OY  -  This command returns True if the last new message scan had
 +                 new personal messages from the user.
  
           Sx  -  This command is used to check if a user meets a certain           Sx  -  This command is used to check if a user meets a certain
Line 103: Line 123:
                  permanent index is listed in the user editor, and no two                  permanent index is listed in the user editor, and no two
                  users will ever have the same permanent index number.                  users will ever have the same permanent index number.
 +
 +          Wx  -  This command is used to check the day of the week, where X
 +                 is the day number (0 being Sunday and 6 being Saturday)
  
           Zx  -  This command is used to check if a user is in a certain           Zx  -  This command is used to check if a user is in a certain
access_control.txt · Last modified: 2017/12/30 17:00 by g00r00