Interfaces

From TempusServa wiki
Revision as of 12:06, 10 December 2021 by Tvi (talk | contribs) (14 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Interfaces are access points for external users (someone using the system without a login).

For a more detailed description, please read: Understanding interfaces

Basic configuration

An interface has the following configuration options

  • Interface URL
    • Unique name of the service
  • How should the interface behave
    • Look and feel:
      • Wrapper: "Outer" page design, possibly mimicing an existing website
      • Template: "Inner" page design
      • Stylesheet: Color, font, styles etc.
    • Language: Default language set on page
    • Use questionaire: Use multiple pages in stead of one big page
  • What is the external user allowed to do
    • Proxy user profile
    • Allow UPDATE of existing records
    • Allow INSERT of new records

Note that using and interface is no different than being a normal user: The external user will mimic the provided system user, and this user must have the appropiate permissions.

Email tokens for access to existing records

A common usage is sending email tokens to external users.

Tokens will allow a certain user to update the content of a certain record. Usually these are tied together, where the email of the user is a field in the record.

Tokens contain a timestamp, so it is possible to invalidate the token after a specified amount of time

  • Token expiry: Maximum allowed age of the token

Please not that tis use requires some additional configuration of the Status action that sends the emails.

Other interface options

Control what happens after an update or insert operation

  • Succes message: Displayed message (if not using questionaire interface)
  • Failure message: Displayed message (if not using questionaire interface)
  • Redirect: URL to send user to after updating/inserting their data

Extra security features

  • CAPTCHA: User must take human test before using the interface (prevents robots from injecting data)
  • IP filter: Specificy which IP's are allowed to use the interface (prevent users from known problem countries)