Using the Custom User Details Fields in HTTP Headers


THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server Enterprise version 6 and later

DISCUSSION

​You need a customized version of the Web Transfer Client, available from Professional Services to use this feature.

When a user attempts to connect to EFT Server, the connecting client sends a request to EFT Server, which reads the information in the HTTP or HTTPS header, then sends a response back to the client. You can configure a registry key on the EFT Server computer so that EFT Server reads the information in the authenticated user's User Account Details Custom Fields, and then adds that information to the HTTP/HTTPS response header.

For example, when a user first connects to EFT Server through the Web Transfer Client, you might want a license to appear that they must accept to continue. The information that the user accepted the license would appear in the Custom Field in EFT Server and in a cookie on the client computer, so that the user would not be asked to accept the license on subsequent connections.

If the user clears their browser cache, either manually or when set to clear upon closing the browser, the next time the user logs in to the WTC, they will be asked to accept the license again.

To activate this feature, create the following DWORD value1:

"HKEY_LOCAL_MACHINE\Software\GlobalSCAPE Inc.\EFT Server 4.0\EFTClient\enable_x_headers"

A value of 1 activates the key; 0 deactivates the key

To create the DWORD value in a .reg file

  1. In a text editor, such as Notepad, type or paste the following text:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\Software\GlobalSCAPE Inc.\EFT Server 4.0\EFTClient]

    "enable_x_headers"=dword:00000001

  2. Save the file with a .reg extension.

  3. Double-click the .reg file to insert it into the Registry.

  4. Restart the EFT Server service.

    • If you receive an error, open the file to verify the information was typed correctly.

    • The .reg file can be transported to and used on other computers if you have more than one EFT Server.