Log into WebDirect with user and password

I have a navigation button on our site to launch a WebDirect session in a shared file. Initially, all visitors were using “Guest” account. Due to security issues of Guest users copying and distributing the data, there is a new requirement to pass credentials from the website to launch the webdirect session from our site. We are removing the “Guest” access, and would like a more secure deployment.

Is it possible to automatically log a user in with security from FMB? Is there a way to shield the account credentials from the user? and what is the convention that the WebDirect login page accepts?

To update, an example was created for this use case that showcases how to login to web direct from a BF App. The code for that example can be found by clicking here.