PrestaShop File & Folder Permissions | Setup PrestaShop File Permissions Via FileZilla (FTP & SSH)
Автор: Astra Security
Загружено: 2019-09-09
Просмотров: 1932
Описание:
Let's understand what are Prestashop File Permissions and why are they important.
File permission is basically a way of telling the server that who can perform what operations on our PrestaShop files & folders
This is how file permission would look like:
rwxrw-r-
drwxrw-r--
You can assign users three type of permissions
r - read - 4
w - write - 2
x - execute - 1
And you know what, our PrestaShop accounts can be more vulnerable if these file permissions are not correctly set.
It can allow attacks to exploit the loopholes and completely takeover the PrestaShop store. Also, it can wrongly allow users to read, write and execute sensitive files thereby changing the setting/configurations of your website or can also inject malicious code or plant a backdoor.
Using FileZilla
Let's start by setting up the FTP client using ssh credentials
You'll need these to setup the connection to your server:
Host - sftp://server_ip or sftp://
Port - 22
username
password
The recommended permission for all the folders is 755 and for all the files, it’s 644.
Prestashop Folder/File Permissions Via SSH
Additionally, you can also use the SSH to change the file permissions. Navigate to your public_html directory or the directory where Prestashop is installed. And Simply, run this command “find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;” and it’ll do the job for you in much lesser time.
Check our PrestaShop Security Guide for Rock Solid Security - https://astra.sh/prestashop-security
#PrestaShop #PrestaShopSecurity #Prestashopfilepermissions
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: