How to store global but sensitive objects?
<p>I have a class object that will be accessed throughout my web application. It contains globally shared information, and I don't want to create an instance of it every time I need it (doing so is bad right?). This is how I'm doing it right now, but I don't know if it's safe</p>

<pre><code>class GlobalDI
{
       public static readonly BaseProfile Profile;
       static GlobalDI(){
          Profile = new BaseProfile(){
           SignatureKey = ConfigurationManager.AppSettings["CX_SignatureKey"],
           Username = ConfigurationManager.AppSettings["CX_Username"],
           AppID = ConfigurationManager.AppSettings["CX_AppID"],
           Password = ConfigurationManager.AppSettings["CX_Password"],
          };
       }
}
</code></pre>

<p>What are some safe ways to do this?
Thanks in advance.</p>
