#1 (permalink)  
Old 10-09-2009, 06:42 PM
Advanced cPanel/WHM User
cPanel Partner NOC BadgeAdvanced cPanel/WHM User
 
Join Date: Nov 2001
Location: San Clemente, Ca
Posts: 668
shaun is on a distinguished road
XML/JSON API Function to retreive the 'Remote Access Key'

I would like to request a API function to be added to the WHM that would allow the 'Remote Access Key' to be fetched.

I am developing a app and rather than forcing the user to copy/paste in the WHM access key i want to give them the ability to just type in there user/pass the first time around and for the app to login, grab the hash, and store it for future use.
__________________
Shaun Reitan
www.NDCHost.com
www.cPlicensing.net <- External cPanel Licensing
www.ProVPS.com <-- Xen Virtual Private Servers w/ cPanel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-11-2009, 03:12 AM
bvierra's Avatar
Registered User
 
Join Date: Jul 2006
Location: Southern California
Posts: 55
bvierra is on a distinguished road
While there is no way to get it through API you could easily use ssh and cat ~/.accesshash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-12-2009, 09:43 AM
Advanced cPanel/WHM User
cPanel Partner NOC BadgeAdvanced cPanel/WHM User
 
Join Date: Nov 2001
Location: San Clemente, Ca
Posts: 668
shaun is on a distinguished road
Ya.. but that would require my app to support SSH. Alot more work to implement, less stable, and more of a security risk when passing the root password.
__________________
Shaun Reitan
www.NDCHost.com
www.cPlicensing.net <- External cPanel Licensing
www.ProVPS.com <-- Xen Virtual Private Servers w/ cPanel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-20-2009, 11:20 AM
rking's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 162
rking is on a distinguished road
If you're worried about security, you could setup SSH keys and then your app wouldn't have to store the root password at all. If you're talking about a root level app that needs the root access hash, you'd have to authenticate for the API call somehow anyways (i.e. you either need the hash already or you have to pass the root password).

If you're looking for a reseller's access hash and are having resellers authenticate with their username and password, you could FTP to their account and grab their .accesshash through FTP. Probably wouldn't be as complex as supporting SSH in your app.

But if you're going to be allowing resellers to store their hash, why not store their password instead? For security, you're going to have to encrypt either of them anyways and afaik there's little you can do with a password that you can't do with the hash.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-08-2010, 02:36 PM
Advanced cPanel/WHM User
cPanel Partner NOC BadgeAdvanced cPanel/WHM User
 
Join Date: Nov 2001
Location: San Clemente, Ca
Posts: 668
shaun is on a distinguished road
Bumpity Bump

Will there be support for this?
__________________
Shaun Reitan
www.NDCHost.com
www.cPlicensing.net <- External cPanel Licensing
www.ProVPS.com <-- Xen Virtual Private Servers w/ cPanel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request XML-API function: change password XenomediaBV Developer Discussions 2 09-14-2009 01:41 PM
Remote backup using XML-API? CrazyMerlin cPanel and WHM Discussions 0 02-06-2009 08:28 AM
Access Denied - XML API lukaschemp cPanel and WHM Discussions 2 09-17-2008 11:42 AM
XML-API and controling WHM using remote Perl script - Help! jonathanwww Developer Discussions 1 06-30-2008 10:09 AM
Current Access Key does not function! zerutreck cPanel and WHM Discussions 7 12-10-2007 09:41 AM


All times are GMT -5. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc