Hi,
I have a Deluxe hosting account at GoDaddy, using a SQL Server 2005 DB.
I wanted to get both data repositories ("Personal" and "LocalSqlServer") in one source in a SQL DB and get away from the .mdf SQL file, so I added the tables & stored procs from the aspnetdb.mdf file and inserted them into my hosting DB. Now I would like to encrypt my connection strings in the web.config so that it is no longer in plain text, however I'm having an issue with encrypting/decrypting the strings.
I don't have any issues encrypting/decrypting the connection string for the album data ("Personal" connection string), however, the AspNetSqlRoleProvider does not like reading an encrypted connection string ("LocalSqlServer"), and I don't know if there's a way to decrypt it before providing it. I've played around with the DPAPIProtectedConfigurationProvider and RSAProtectedConfigurationProvider and it works locally, but as soon as I upload it to my hosting server, it doesn't want to work.
Does anyone know if there is a way to protect the connection string the AspNetSqlRoleProvider uses? Or do you know if GoDaddy allows you to use DPAPIProtectedConfigurationProvider or RSAProtectedConfigurationProvider? I've tried Googling every possible keyword combination but I haven't had any luck with it.
How are other people dealing with encryption for this?
Thanks in advance!
Lisa