Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ianhoughton 281 posts 605 karma points c-trib
    Feb 28, 2012 @ 23:29
    ianhoughton
    0

    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 ?

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 29, 2012 @ 01:37
    Lee Kelleher
    1

    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.

  • ianhoughton 281 posts 605 karma points c-trib
    Feb 29, 2012 @ 01:47
    ianhoughton
    1

    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

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 29, 2012 @ 01:50
    Lee Kelleher
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft