StrataFrame Forum

Add an accessible property ViewSecurityKey to the ConnectionManager class

http://forum.strataframe.net/Topic19087.aspx

By Edhy Rijo - 9/4/2008

Hi,

The following command MicroFour.StrataFrame.Data.ConnectionManager.ShowAvailableConnectionStrings() will show the SF Application Database Connections, it would be nice and consistent to have a ViewSecurityKey property we could set before calling the ShowAvailableConnectionStrings() and let the security do its stuff.

Right now I have to add code to enforce security, and would be much better that this form acts like the MDDeployMain which you can set the ViewSecurityKey via code like this:

'-- Create the deployment form

loDeploy = New MicroFour.StrataFrame.DBEngine.Deployment.MDDeployMain(lcPath & "FixTrack_DD.pkg", "FixTrack")

loDeploy.ViewSecurityKey = "ImportDatabase"

loDeploy.ShowDialog()

loDeploy.Close()

loDeploy.Dispose()

 

By Dustin Taylor - 9/9/2008

Howdy Smile.

On this, couldn't you wrap your own call in a security key to achieve the desired functionality? I.e. have your own security key on the menu item or button that calls ShowAvailableConnections and use that to prevent access if desired?

By Edhy Rijo - 9/9/2008

Dustin Taylor (09/09/2008)
Howdy Smile.

On this, couldn't you wrap your own call in a security key to achieve the desired functionality? I.e. have your own security key on the menu item or button that calls ShowAvailableConnections and use that to prevent access if desired?

Hi Dustin,

Yes that is what I am doing now, but I meant for consistency through all SF features it would be easier, nicier and consistent to simply set the ViewSecurityKey.