admin管理员组文章数量:1391955
One of my websites scan by a security firm and came up with below to block ".json" access over the internet. I've tried few plugins but none of them work, does anyone know how to block similar files display JSON on the browser.
One of my websites scan by a security firm and came up with below to block "http://domain/wp-includes/sodium_compat/composer.json" access over the internet. I've tried few plugins but none of them work, does anyone know how to block similar files display JSON on the browser.
Share Improve this question edited Feb 2, 2020 at 12:30 Jacob Peattie 44.2k10 gold badges50 silver badges64 bronze badges asked Feb 2, 2020 at 12:23 Roshan DeshapriyaRoshan Deshapriya 1721 gold badge2 silver badges10 bronze badges2 Answers
Reset to default 0You have two way to proceed:
1) Use the .htaccess
file to exclude the folder from begin listed
2) Exclude the json
files from crawlers scan by adding them inside the robots.txt
file.
I've change file permission, so It'll read-only by a system not to display to the public. I had assistance from my hosting provider.
本文标签: securityBlock JSON access over the net
版权声明:本文标题:security - Block JSON access over the net 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744689173a2619888.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论