python - A way to store sensitive data to disk, without (serious) fear of user tampering? -


i'm writing application connects twitter , uses oauth api, issue storing consumer_key , consumer_key_secret

how can safely store these values they're difficult user still have ability use them within application?

i've had storing them within pyc , encrypting them suggestions far, i'm open other ideas.

an alternative drm (which describing) proxy secured interaction through server application on own, controlled machine. since you're using oauth, can use same authentication credentials against own server connecting directly twitter.

the advantage approach there no private key disclosure; don't share private key consumers, since that's stored on remote server cannot read, , consumers don't share passwords (instead, oauth token ties particular login specific service).


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -