chirameto Posted May 7, 2009 Share Posted May 7, 2009 According to the installation manual at http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/. It said that I should CHMOD 777 to some folders including module and its subdirectory.Few days ago somebody managed to change files on my website and display their own text in the following folders.blockcurrenciesblockinfosblocklanguagesblocklinkblockmanufacturerblockmyaccountblcoknewproductsblocknewsletterThese blocks are shown on my homepage which mean that everybody will see hacked message instead of my welcoming message.My question is, do I need to give full permission of these files to everyone? Can I set 755 or 644 instead? If it is required to be 777, how do I prevent further hacking? Link to comment Share on other sites More sharing options...
ray96 Posted October 6, 2009 Share Posted October 6, 2009 HiI need this info too, i have been hacked too, and don't want they hack me another time.What is the best chmod for wich folders and files, please?Thank you very much in advance.Ray Link to comment Share on other sites More sharing options...
TropischBruin Posted October 6, 2009 Share Posted October 6, 2009 Please change your topic title to: Question about CHMOD and security.If you are on a shared server could mean that your neighbour on that server runs an outdated Joomla and thus opens up the whole server.Please check that first.Second: CHMOD 755 on dirs and 644 on files should be enough.Thanks! Link to comment Share on other sites More sharing options...
ningu Posted October 6, 2009 Share Posted October 6, 2009 And depending of your hoster, you may also have 700 or 600.Typically, for OVH, it is not necessary that Group and Other have access to your files Link to comment Share on other sites More sharing options...
Recommended Posts