Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Sun Jul 11, 2010 12:22 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
akerl wrote:
Granted. I hadn't considered the backlash to Linode like that. However, perhaps a more realistic solution, rather than having each script granted permission for a subset of the API, would be to sandbox an API key. For instance, API Key #1 has full access, but API Key #2 is denied access to the linode.create and linode.delete.


A "permissioning" model is the proper way to go; "this script to authorized to run functions X,Y,Z on behalf of the current linode manager logged in user". The script should never see the API key ('cos the script could obfuscatedly copy that key offsite, for later malicious use). This may require use of temporary API access keys restricted to the running linode IP address (or similar) to avoid a total rewrite of the stackscript and linode manager API model :-)

Which comes back to my initial statement; if the existing API key is to be exposed to the stackscript then linode should make the consequences clear.

Sysadmin Barbie: Security is hard; let's go shopping.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Tue Jul 13, 2010 3:04 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
akerl wrote:
sweh wrote:
It's not quite that black and white. And the risk isn't all one-way, either. The risk analysis needs to be performed for both the customer and linode.


Granted. I hadn't considered the backlash to Linode like that. However, perhaps a more realistic solution, rather than having each script granted permission for a subset of the API, would be to sandbox an API key. For instance, API Key #1 has full access, but API Key #2 is denied access to the linode.create and linode.delete.

This would be the purpose of separate users.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group