Magento 2.3: How to configure magento CLI commands to use custom names for dangerous redis commandsMove magento site with redis to server without redis how to disable redisHow to configure Redis Session Storage?Redis version requirement for Magento 2?How to configure Redis Cluster in Magento 2Magento + Redis: same config for two different instances - safe?Magento cli no commandsMagento 2: Batch for CLI-commandsRedis vs Memcached for Magento 2.3?Magento 2.3 Useful SSH CLI Commands ListMagento 2.2.5 After Upgrade To 2.3 CLI commands don't work

Does the unit of measure matter when you are solving for the diameter of a circumference?

Using credit/debit card details vs swiping a card in a payment (credit card) terminal

Why do airplanes use an axial flow jet engine instead of a more compact centrifugal jet engine?

Statue View: 2, 3, 5, 7

Pirate democracy at its finest

How do Human Traits Work?

Construct a word ladder

How to pull out the underlying query syntax being used by dataset?

Passively reducing ground loss?

Does Nitrogen inside commercial airliner wheels prevent blowouts on touchdown?

Compactness of finite sets

Where is the logic in castrating fighters?

Should I disclose a colleague's illness (that I should not know) when others badmouth him

Who will lead the country until there is a new Tory leader?

Why did David Cameron offer a referendum on the European Union?

Cipher Block Chaining - How do you change the plaintext of all blocks?

Is neural networks training done one-by-one?

Adding spaces to string based on list

Count Even Digits In Number

How to illustrate the Mean Value theorem?

Flying domestically in the US, is my State Issued ID all I need to get past security?

Why colon to denote that a value belongs to a type?

Why do Windows registry hives appear empty?

Is there some hidden joke behind the "it's never lupus" running gag in House?



Magento 2.3: How to configure magento CLI commands to use custom names for dangerous redis commands


Move magento site with redis to server without redis how to disable redisHow to configure Redis Session Storage?Redis version requirement for Magento 2?How to configure Redis Cluster in Magento 2Magento + Redis: same config for two different instances - safe?Magento cli no commandsMagento 2: Batch for CLI-commandsRedis vs Memcached for Magento 2.3?Magento 2.3 Useful SSH CLI Commands ListMagento 2.2.5 After Upgrade To 2.3 CLI commands don't work






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Environment




OS: Ubuntu 18.04 LTS



Server: Apache 2.4



Database: MySQL v14.14 distribution 5.7.25



PHP: 7.2



Redis: 5.0.4




Issue



Following the digitalocean tutorial referenced within the magento devdocs, I am directed to another digitalocean tutorial in order to properly complete the 'Securing Redis' section.



In order to complete 'Step 5 - Renaming Dangerous Commands', I must modify the magento installation to ensure that magento uses my alternative names, rather than the default command names.



Steps taken



There is no 'out-of-the-box' method for doing this and so I am unsure how to proceed.



Presumably, I could either create a module to extend Magento's caching features, or, I could use an external software or script to execute the Redis commands alongside the functional elements of the default Magento commands.



Ideally, I would like to store the command names as environment variables, then have a custom module within magento retrieve the command names and override those used by default.



I originally raised this as an issue on Magento's github, though the dev team does not consider this security flaw an issue and so they told me to raise it as a feature request on their 'community features' github project page.










share|improve this question






























    1















    Environment




    OS: Ubuntu 18.04 LTS



    Server: Apache 2.4



    Database: MySQL v14.14 distribution 5.7.25



    PHP: 7.2



    Redis: 5.0.4




    Issue



    Following the digitalocean tutorial referenced within the magento devdocs, I am directed to another digitalocean tutorial in order to properly complete the 'Securing Redis' section.



    In order to complete 'Step 5 - Renaming Dangerous Commands', I must modify the magento installation to ensure that magento uses my alternative names, rather than the default command names.



    Steps taken



    There is no 'out-of-the-box' method for doing this and so I am unsure how to proceed.



    Presumably, I could either create a module to extend Magento's caching features, or, I could use an external software or script to execute the Redis commands alongside the functional elements of the default Magento commands.



    Ideally, I would like to store the command names as environment variables, then have a custom module within magento retrieve the command names and override those used by default.



    I originally raised this as an issue on Magento's github, though the dev team does not consider this security flaw an issue and so they told me to raise it as a feature request on their 'community features' github project page.










    share|improve this question


























      1












      1








      1








      Environment




      OS: Ubuntu 18.04 LTS



      Server: Apache 2.4



      Database: MySQL v14.14 distribution 5.7.25



      PHP: 7.2



      Redis: 5.0.4




      Issue



      Following the digitalocean tutorial referenced within the magento devdocs, I am directed to another digitalocean tutorial in order to properly complete the 'Securing Redis' section.



      In order to complete 'Step 5 - Renaming Dangerous Commands', I must modify the magento installation to ensure that magento uses my alternative names, rather than the default command names.



      Steps taken



      There is no 'out-of-the-box' method for doing this and so I am unsure how to proceed.



      Presumably, I could either create a module to extend Magento's caching features, or, I could use an external software or script to execute the Redis commands alongside the functional elements of the default Magento commands.



      Ideally, I would like to store the command names as environment variables, then have a custom module within magento retrieve the command names and override those used by default.



      I originally raised this as an issue on Magento's github, though the dev team does not consider this security flaw an issue and so they told me to raise it as a feature request on their 'community features' github project page.










      share|improve this question
















      Environment




      OS: Ubuntu 18.04 LTS



      Server: Apache 2.4



      Database: MySQL v14.14 distribution 5.7.25



      PHP: 7.2



      Redis: 5.0.4




      Issue



      Following the digitalocean tutorial referenced within the magento devdocs, I am directed to another digitalocean tutorial in order to properly complete the 'Securing Redis' section.



      In order to complete 'Step 5 - Renaming Dangerous Commands', I must modify the magento installation to ensure that magento uses my alternative names, rather than the default command names.



      Steps taken



      There is no 'out-of-the-box' method for doing this and so I am unsure how to proceed.



      Presumably, I could either create a module to extend Magento's caching features, or, I could use an external software or script to execute the Redis commands alongside the functional elements of the default Magento commands.



      Ideally, I would like to store the command names as environment variables, then have a custom module within magento retrieve the command names and override those used by default.



      I originally raised this as an issue on Magento's github, though the dev team does not consider this security flaw an issue and so they told me to raise it as a feature request on their 'community features' github project page.







      magento2 cache security cli redis






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 20 at 17:22







      Joshua Flood

















      asked Apr 13 at 17:31









      Joshua FloodJoshua Flood

      443227




      443227




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269989%2fmagento-2-3-how-to-configure-magento-cli-commands-to-use-custom-names-for-dange%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269989%2fmagento-2-3-how-to-configure-magento-cli-commands-to-use-custom-names-for-dange%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form