在magento中编辑产品的url中的参数键的目的是什么?


what is the purpose of the param key in the url of editting product in magento

当我进入magento管理并编辑产品时,我注意到在url中有这样的

http://localhost/magento/index.php/admin/catalog_product/edit/id/881/key/49db070795d0e717abac7c40b0f23ee4/

magento指定密钥,我想知道密钥的目的是什么,因为密钥对于不同的产品都是相同的,它是否包含任何信息,如存储或其他东西,以及magento如何生成此密钥用于编辑这些产品

这是一个防止欺诈的安全功能,仅此而已。

Mage::getSingleton('adminhtml/url')->getSecretKey("adminhtml_yourcontroller","youraction");