User and security data can be stored as an XML file instead of using files VFPPF06 07

Visual LANSA Framework

User and security data can be stored as an XML file instead of using files VFPPF06/07

A less secure option for Frameworks with no web access is to store the user definitions and authorities in local file VF_Sy001_Users.XML .

When authority is stored in VF_Sy001_Users.XML, VF_Sy001_users.XML must exist on the user's PC . This method can still be used when users connect to a remote server, as long as VF_Sy001_Users.XML is present on every user's PC, or is accessible on the network by every user's PC.

Authority stored in VF_Sy001_Users.XML must exist on the user's PC, but can be used when connecting to a server (provided it exists on every user's PC or can be accessed on the server by every user's PC).

User definitions and authorities stored in VF_SY001_Users.XML cannot be used at all when the Framework is running in web mode.

Important facts about storing user definitions as XML:

  • You can change the name of the users definition file to something else.
  • You can specify a complete path to the file. This could be a path to a drive on the network, so that all users could share the same XML file.
  • You should never alter the content of the XML file with anything other than through the Framework.
  • In the partition execute directory files named VF_Sy001_Users_YYYYMMDD_HHMMSS.XML may be found. These represent user definition versions that were saved at the time specified in their names. You can use these to back out unwanted user definition changes. You should, from time to time, delete old saved versions.
  • The use of the shipped Framework user profile management facilities is optional. Not using them does not preclude your application from using multiple users and user profile management facilities of its own design.

To use this facility:

Go to (Framework) --> (Properties...) -->User Administration Settings tab and uncheck the option Store Users in DBMS Tables VFPPF067/07.