Password Safe and Repository

Configuration file

Configuration file

Previous topic Next topic  

Configuration file

Previous topic Next topic  

The configuration file contains all settings of the client. This file will not be deleted when the software is uninstalled, so that your settings will not get lost when you want to do an update.

 

You can find the configuration file in the following directory:

 

Windows Vista/Windows7:

C:\Users\user name\AppData\Roaming\PasswordSafe\psr.pc7

 

Windows XP:

C:\documents and settings\user name\application data\PasswordSafe\psr.pc7

 

If you delete the file you have to configure Password Safe again.

 

Build-up of the configuration file

The configuration file is a XML defined configuration file with which you can give certain settings, which are already defined, to the client. A setting file applies per client. By means of different configuration files you can "pre"-configure the clients and therefore customize Password Safe (for example different databases per client).

 

Following some setting possibilities are described:

 

Edition:

Edition 1 = Personal Edition

Edition 2 = Standard Edition

Edition 3 = Professional Edition

Edition 4 = Enterprise Edition

 

LicenceFile:

Path to the licence file (For example: "D:\Password Safe\psr7.lic" or "\\MyShare\Password Safe\psr7.lic")

 

ShowSplashScreen:

The Splash Screen briefly shows licence information and version when starting Password Safe. You can show or deactivate the Splash Screen.

 

UseSecurityZones:

Activate security zones (private, workplace, public). This option is mainly used for notebooks or also with USB sticks. Hereby you can choose different settings per place of location. For example if you run Password Safe on a USB stick you can use different settings on public PC`s like on private/secure PC`s.

 

SetSecurityZoneAtStart:

Request choice of security zones at every software start. For example when you are on the way with the notebook.

 

UserOptionsAvailable:

When deactivating the same settings apply to all users. This can lead to considerable delays because many users access the same file, and is therefore a disadvantage that the setting effects all users. We only suggest this setting for smaller teams.

 

ShowProgramOptions:

Configuration of the dialogue "general settings"

(0=menu item/toolbar button is not displayed, 1=menu item/display toolbar button, 2=menu item/display toolbar button, but configuration is not possible, but instead a notice text for the user appears).

 

ShowAddNewDatabase:

Configuration of the button "start new database". With this you can hide the button for the start of a new database. The button will not be hidden until at least one database has been started.

(0=menu item/toolbar button is not displayed, 1=menu item/display toolbar button)

 

WindowsUserAsDefault:
The actual windows user will be entered in the login window automatically

 

 

Example of a minimal configuration file without settings and without databases (do not use TAB`s!):

 

<?xml version="1.0" encoding="windows-1250" ?> 

<Data>

  <Common>

    <Edition>4</Edition>

    <LicenceFile>psr7.lic</LicenceFile>

    <ShowSplashScreen>0</ShowSplashScreen>

    <UseSecurityZones>0</UseSecurityZone>

    <SetSecurityZoneAtStart>0</SetSecurityZoneAtStart>

  </Common>

</Data>

 

Following an example of a configuration file which has been configured user-dependent. You need this for example to give it out to the users. Accordingly adapt a configuration file "psr.pc7" in the directory, by means of an editor and afterwards open Password Safe to carry out the settings. The settings will be saved in the configuration file so that you can give it out to the users.

 

<?xml version="1.0" encoding="windows-1250" ?>

 <Data>

  <Common>

    <Edition>4</Edition>

    <LicenceFile>\\path_to_the_licenze_file_on_the_server\psr7.lic</LicenceFile>

    <ShowSplashScreen>0</ShowSplashScreen>

    <UseSecurityZones>0</UseSecurityZone>

    <SetSecurityZoneAtStart>0</SetSecurityZoneAtStart>

    <UserOptionsAvailable>0</UserOptionsAvailable>

  </Common>

</Data>

 

Notice:

Generally, options can be with

0 = deactivated and with

1 = activated.

Do not use TAB`s for insertion, use space characters!

 

Providing the configuration file

Basically the configuration file will be automatically created in the AppData directory of the user if no configuration file exists yet.  But you can also deposit the configuration file in other places. The configuration file should be named "psr.pc7". Following you can find the order listed in which places the configuration file will be searched for.

 

1.At an USB stick in the environment variable "U3_APP_DATA_PATH". The file name has to be "psr.pc6".
 

2.In the environment variable of the client "PSR_CONFIG_PATH". Now only enter the path, without the file. The file name has to be "psr.pc7".
 

3.In the registry. Here you can define the path including the file name yourself.
 
Sector:
HKEY_CURRENT_USER\Software\MATESO\PasswordSafe\Options
Entry:
ConfigFile
 

4.In the program path of the application. The file name has to be "psr.pc7".
 

5.In the AppData directory of the user. The file name has to be "psr.pc7".
 
Windows Vista/Windows 7:
C:\Users\user name\AppData\Roaming\PasswordSafe\psr.pc7
 
Windows XP:
C:\documents and settings\user name\application data\PasswordSafe\psr.pc7