Is it possible to use the keys for users instead of admin?
Posted: Sat May 13, 2017 11:48 am
Hi guys,
I need your opinion on the API. Right now only admin or a hash can access it - and they get full access. But what if the end user wanted to access the API too i.e. user45?
Do you think it's better to use user/password login and limit user/password login to the API to only use the command v-list-user? (v-list-user user45)?
So hash = admin/full access
user/pass = /usr/local/vesta/bin/v-list-user user
I need your opinion on the API. Right now only admin or a hash can access it - and they get full access. But what if the end user wanted to access the API too i.e. user45?
Do you think it's better to use user/password login and limit user/password login to the API to only use the command v-list-user? (v-list-user user45)?
So hash = admin/full access
user/pass = /usr/local/vesta/bin/v-list-user user