4.2.10 提问:WordPress 重要⽬录的访问权限应如何设置?
在WordPress中,重要⽬录的访问权限应当被正确设置以确保⽹站安全。⼀般来说,WordPress ⽬录下的wp-content、wp-includes 和 wp-config.php ⽂件是最重要的。设置权限时应保证只有 WordPress 程序本⾝才有写⼊权限,其他⽤户只有读取权限。⽰例:
1. wp-content ⽬录权限设置为 755,确保 WordPress 可以读取和执⾏⽂件,但不允许写⼊。
2. wp-includes ⽬录权限设置为 755,以防⽌⾮授权⽤户访问敏感⽂件。
3. wp-config.php ⽂件权限设置为 600,只允许 WordPress 程序读取和写⼊该⽂件,其他⽤户⽆法访问。
10 Screens$8,029
I will design rough sketches for upto 5 Screens of your website/Mobile app.
3 Days
Delivery
1
Revision
- Source File
- Commercial Use
- Interactive Mockup
- 10 Pages
20 Screens$16,029
I will design rough sketches for upto 5 Screens of your website/Mobile app.
- Source File
- Commercial Use
- Interactive Mockup
- 10 Pages
30 Screens$24,029
I will design rough sketches for upto 5 Screens of your website/Mobile app.
- Source File
- Commercial Use
- Interactive Mockup
- 10 Pages