hack siteweb repertorie chmod 755
-
- Posts: 19
- Joined: Wed 28. Dec 2022, 22:45
hack siteweb repertorie chmod 755
i use last version keyhelp 23.0, debian 11
repertories of website is by default chmod 755
/home/users/my-users/www/my-user-web-site.fr/
www is chmod 750
but my-users-web-site.fr is chmod 755
why ?
when i change my-users-web-site.fr with chmod 750, website is
Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe
hown can i have chmod 750 for all website
thanks
stéphan
Re: hack siteweb repertorie chmod 755
The 0755 is required for the web server to access the files.
No other user can access the files because other users cannot pass through /home/users/<USERNAME>/www for example.
So the 0750 would not increase security and would also result in FORBIDDEN because, as I said, Apache would be locked out.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 19
- Joined: Wed 28. Dec 2022, 22:45
Re: hack siteweb repertorie chmod 755
but i migrate prestashop website on keyhelp and every day now is hacked
before i was on imscp and htdocs is 750 and never hack
now is hack
so i ask me why now with keyhelp
Re: hack siteweb repertorie chmod 755
It is very likely, that you have plugins etc. in your web application which cause the issue. This is not a KeyHelp issue.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: hack siteweb repertorie chmod 755
Check the log files and find the breach, make a complete scan of the www folder.stephan-ipt wrote: ↑Thu 2. Feb 2023, 12:45 but i migrate prestashop website on keyhelp and every day now is hacked
Lots of plugin "developers" for e-commerce websites (opencart, prestashop, ecc.) write horrible code.
If you don't know how to fix stuff, hire some developer to do it for you.