Magento
M70-201 · Question #72
How can you restrict access to a custom API resource?
The correct answer is A. Only by creating a new role under 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
(29 responses)- A79% (23)
- B7% (2)
- C3% (1)
- D10% (3)
Community Discussion
No community discussion yet for this question.