Disable and enable IBExpert features

tutorial available

Using this feature it is possible to disable all menu items, and blend only those in, which you wish the user to see. A particularly useful security feature! All you need to do is add a simple After start script, found in the IBExpert Options menu, Environment Options:

 execute ibeblock
 as
 begin
  ibec_DisableFeature(0);     -- disable all
  ibec_EnableFeature(1003);   -- enable Tools menu
  ibec_EnableFeature(2148);   -- enable menuitem tools-data analysis
 end

The example above enables only the IBExpert Tools menu item, Data Analysis. The numbers quoted directly after the IBEBlock keyword can be found in the IBExpert Tools menu, Localize IBExpert.

To limit the visible parts of IBExpert for certain users only, add a password clause:

 execute ibeblock
 as
 begin
   pwd='';
   if (ibec_InputQuery('Start','Please enter password',pwd))
   then
     if (pwd='123') then
       ibec_enablefeature(0);
     else
       ibec_disablefeature(0);
 end 

back to top of page
<< Performing a daily backup of the IBExpert User Database | IBEBlock | ftp_download_file >>