Magento
M70-101 · Question #55
M70-101 Question #55: Real Exam Question with Answer & Explanation
The correct answer is B. By setting up an ACL in etc/api.xml and creating a new role for it in System/Web Services/Roles. See the full explanation below for the reasoning.
Question
How can you restrict access to a custom API resource?
Options
- AOnly by creating a new role under System/Web Services/Roles
- BBy setting up an ACL in etc/api.xml and creating a new role for it in System/Web Services/Roles
- COnly by extending Mage_Api_Controller_Action and overriding the _isAllowed method
- DBy setting up an ACL in etc/adminhtml.xml and creating a new role in System/Permissions/Roles
Community Discussion
No community discussion yet for this question.