Applet security using twitter Oauth?
in
Programming Questions
•
1 year ago
I am trying to understand how best to secure my key data. My sketch must exist on my website as an applet that accesses twitter in real-time. My sketch involves the following method:
static String OAuthConsumerKey = "XXXXXXXX";
static String OAuthConsumerSecret = "XXXXXXXXXXXXXXX";
static String AccessToken = "XXXXXXXXXXXXXXX";
static String AccessTokenSecret = "XXXXXXXXXXXXXXX";
I understand that if I simply keep the key data in my applet it will be a security compromise as a user could peek inside of it. How then do I best hide these keys, i.e. in a php file and then call it into the applet? How then would I read the php securely into the applet without users seeing my key?
static String OAuthConsumerKey = "XXXXXXXX";
static String OAuthConsumerSecret = "XXXXXXXXXXXXXXX";
static String AccessToken = "XXXXXXXXXXXXXXX";
static String AccessTokenSecret = "XXXXXXXXXXXXXXX";
I understand that if I simply keep the key data in my applet it will be a security compromise as a user could peek inside of it. How then do I best hide these keys, i.e. in a php file and then call it into the applet? How then would I read the php securely into the applet without users seeing my key?
1