Access security is a vital part of any application.
Caravan Enterprise Server comes with inbuilt security. You can achieve document
level security for user domains by writing a few lines of codes and following
the security conventions while creating your web pages.
User domains is used
to restrict user access and also for various menu options to shown to the user
as per his domain.
Before we go ahead we would like to remind you that the
word "DOMAIN" is specific to Caravan and has no relation with your network
domains. The "DOMAIN" in Caravan used to define various categories of users for
your application. Domain ADMIN is automatically generated when Caravan Business
Server is installed.
For security reasons, the user information is not available directly from the
caravan.users database. To access the user information, an interface is
available through the user object or through the predefined userinfo object for
all logged in users. The Domain or Role is an important property of the user
that can be set on each web page. A user could belong to the domain/role
Employee or Manager. A domain can also be a department, say HRD or Marketing.
The Caravan Business Server will prompt the logged in user for a login name and
password, for access to a specified domain. Only users authorized to access a
user domain are allowed access to the pages for that domain. Using the domain of
the user, different menus and options can also be shown to the user.
User
user objectName
Domain(Roles)
domain domain name
Multiple Domains(Roles)
domain<domain name>|<domain
name>