Jump to content

Just moved my shop to root level - what security?


LukeH

Recommended Posts

Hi

For a few months now I have been configuring my shop in a sub-folder to keep it away from direct internet links. I have just moved it to the root level so that my website url goes straight into the shop. I have checked the chmod permissions and I can confirm that folders are 755 and files 644.

What else should I do to secure?

I will be installing an SSL cert soon, and do I need to do anything with an .htaccess file?

Thanks,

Luke.

Link to comment
Share on other sites

You can add the following to your .htaccess file to prevent your TPL files being downloaded:


  Order deny,allow
   Deny from All



Otherwise, there isn't anything else you need to do for security.



Thanks rocky, I will implement this today.

Cheers.
Link to comment
Share on other sites

  • 5 weeks later...

I'm not sure. PrestaShop instructions say chmod 666, but they are wrong about the chmod 777 permissions, so they might be wrong again. Try giving it chmod 644 permissions, then check whether the friendly URLs still work and that you are able to regenerate the .htaccess file.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...