It's not really a specific Umbraco question, but I'm creating a twitter control for Umbraco and was wondering where the best place for storing Twitter API keys. I'm currently using some text boxes for inputs and then storing the result in an XML file. Would I be better storing them in the web.config file for security purposes ?
I've decided to go down the route of a seperate .config file in the data folder for now. Its for an Umbraco package and I'm wary of messing with people's web.config files !!
Storing Application keys
It's not really a specific Umbraco question, but I'm creating a twitter control for Umbraco and was wondering where the best place for storing Twitter API keys. I'm currently using some text boxes for inputs and then storing the result in an XML file. Would I be better storing them in the web.config file for security purposes ?
Hi Ian,
I'd go with putting them in the Web.config, it's secure enough - meaning your database connectionstring is already in there.
Cheers, Lee.
Thanks Lee,
I've decided to go down the route of a seperate .config file in the data folder for now. Its for an Umbraco package and I'm wary of messing with people's web.config files !!
Its working for now, so we'll see.
Cheers Ian
Separate config file is cool too. I meant more that .config files are usually 'secure' enough for storing app keys.
Looking forward to seeing what you've come up with! :-)
Cheers, Lee.
is working on a reply...