Configuring EFT Server Permissions in SQL Server

When you install EFT Server with the Auditing and Reporting Module, the installer runs scripts to connect EFT Server to SQL Server. The EFT Server service must have read, write, and execute permissions in SQL Server. For example, if SQL Server goes offline, EFT Server will continue to audit activity using its flat files, then when SQL Server comes back online, EFT Server will connect to SQL Server and upload its flat file contents to SQL Server. If EFT Server does not have the correct permissions on SQL Server, the upload will fail.

During installation, EFT Server needs full DB Owner access to the auditing database to set up the schema. During updates or upgrades, EFT Server needs full DB Owner access to update the schema. Once it is set up, EFT Server only needs to be able to read, write, and execute stored procedures.

To add a user in SQL Express 2008

At a command prompt, type the following commands. In this example, "WIN-P0\testuser” is the user. On the local computer, you can drop the system name and just use the username (e.g., “testuser”).

osql -E -S localhost\GLOBALSCAPE -Q "sp_grantlogin 'WIN-P0\testuser'"

osql -E -S localhost\GLOBALSCAPE -Q "sp_addsrvrolemember @loginame='WIN-P0\testuser', @rolename='sysadmin'"