Visual Guard Class Library Documentation

 How to Offline Mode

Introduction

The offline mode gives mobile users greater control over security. It allows you to work on an application in secure mode without being connected to the VGRepository.

Requirements

To use the offline mode you must have version 2.8 of Visual-Guard.

Scenario

  1. The user connects to the application with the offline mode activated. Visual-Guard will automatically save the role or roles that the user has selected in the OfflineStore
  2. When Visual-Guard detects that the VGRepository is no longer available and that the offline mode is activated, it will load the security settings from the saved copy found in the OfflineStore,
  3. When Visual-Guard detects that the VGRepository is available again, it will synchronize the Event Viewer.

 

Usage

To use the offline mode, you must generate the Visual-Guard configuration files and modify the OfflineStore property

 

Implementation

  1. Connect to a VGRepository,
  2. Select an Application,
  3. Select the action "regenerate the VG configuration file", (a window will open),
  4. Select "User" or "Machine" for the Offline property,
  5. Generate the new configuration files for your application,
  6. Launch your application with the accessible repository,
  7. Sign in as a user and select a role or roles,
  8. Close your application.

 

Using the application

  1. Using the application
  2. Launch your application,
  3. Sign in as the same user,
  4. Your application will open (without being connected to the repository),
  5. Close your application.

 

Synchronizing the application with the VGRepository

  1. Connect your computer to the network (a connection to the VGRepository will be made automatically)
  2. Launch your application,
  3. Sign in as any user, Visual-Guard will synchronize the Event Viewers.

 

Interacting with applications in offline mode

The applications being managed in offline mode may use the following VGSecurityRuntime events:

 

Warnings

When Visual-Guard assemblies change, VGLogEntries are lost upon synchronization. To avoid this loss, you must connect to the VGRepository before changing assemblies.

Using the offline mode for ASP applications is not recommended.

 

Restrictions:

Glossary:

OfflineStore Property:

OfflineStore: The storage cache for offline mode.