C# Class Bloom.WebLibraryIntegration.AccessKeys

This class is responsible for the key bits of information that are needed to access our backend sites. These keys are not very secret and could easily be found, for example, by packet snooping. However, we want to keep them out of source code where someone might be able to do a google search and easily find our keys and use our storage. The keys are currently stored in a file called connections.dll. The installer must place a version of this in the EXE directory. Developers get it automatically, along with other dependencies. You can see what keys are stored in what order by checking the constructor. That will work for Parse.com, where we currently have different API keys for the sandbox. For the S3 data, we currently just use different buckets. If we wanted to, we could put the 'real data' bucket name here also, and put the appropriate one into the testing version of connections.dll. Todo: Some of the real keys are still in our version control history. Before we go live, we may want to change the keys so any keys discovered in our version control are obsolete.
Show file Open project: BloomBooks/BloomDesktop Class Usage Examples

Public Methods

Method Description
GetAccessKeys ( string bucket ) : AccessKeys

Private Methods

Method Description
AccessKeys ( string s3AccessKey, string s3Secret, string parseApiKey, string parseAppKey ) : System

Method Details

GetAccessKeys() public static method

public static GetAccessKeys ( string bucket ) : AccessKeys
bucket string
return AccessKeys