Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
Jeff,
The SecurityDataSourceKey and the SetSecurityKeyAndVectorForUserAuthentication are not the same thing.
The SecurityDataSourceKey is a key that is used to access a data source that contains the security tables/views used by RBS. The key is a string. If you look at the properties of a BO in the designer of that BO, you'll notice a DataSourceKey property. This is set to the key of the DataSource the BO will use to interact with the data. The SecurityBasics.SecurityDataSourceKey is simply used to set this property on the RBS BOs that provide data for the various RBS features.
The security key and vector is a string that is used to generate a key and vector that is used to encrypt the information within the Data column in the user table (SFSUsers). You set this in InitiApp() and it must match what has been set as the security key in the security project (see "Specifying the Encryption Key for User Data" in help) if you want to distribute any user data set at design time.
So, since they are both just strings, they could be the set to the same string, but they are not the same thing and I'd likely not use the same string.
|