1

I want to secure my website from script injection and other Security failures so is there patch or somthing that i have to do or upload to do so.

Also i want advice from you concerning sécurity magento 2.

And how to change the url of backend from /admin to /somthing/admin.

Thanks in advance :)

8
  • 2
    I think you should check your site report here and here, do action accordingly.
    – Hitesh
    Commented Oct 10, 2018 at 10:45
  • 2
    go to app/etc/env.php and open it search 'frontName' => 'admin' and replace admin to what you want
    – Hitesh
    Commented Oct 10, 2018 at 10:46
  • 1
    yes changing the frontName => admin to something/admin in env.php is the right approch. But make sure you delete cache from the var folder after making the changes Commented Oct 10, 2018 at 10:50
  • thanks for all of you really :) just one question @Hit's my magento version is 2.2.4 so what's the appropriate patch to downold and thanks again Commented Oct 10, 2018 at 10:59
  • After magento 2 release they have removed patch concept to install manually, you can just run composer update from root folder that's it. or update version check here
    – Hitesh
    Commented Oct 10, 2018 at 11:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.