Magento
M70-101 · Question #55
How can you restrict access to a custom API resource?
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
How the community answered
(19 responses)- A11% (2)
- B74% (14)
- C11% (2)
- D5% (1)
Community Discussion
No community discussion yet for this question.