2

I built my own custom form which is inside a Contact folder with the 755 permission. Since my email address is inside the contact.php should I change the permission to 700?

1 Answer 1

2

No, all of your folders should be set to 755 and files should be set to 644.

With Joomla, the only file that should ever need to be different (optional) is your configuration.php file which can be set to 444

5
  • Thanks Lodder! But in this case everyone could find my email address since read + execute are enable?
    – JinSnow
    Oct 8, 2014 at 13:35
  • 1
    644 means you can change it and others can view it. However it won't be an easy task trying to view it. As it's a PHP file, it doesn't render text or does not open the same way as a HTML file for example. To be honest, I would suggest making your contact form a proper Joomla module. Creating standalone PHP scripts for Joomla is not recommended unless you have a valid reason to be doing so or you know exactly what you're doing
    – Lodder
    Oct 8, 2014 at 13:46
  • Would it be more secure in a jumi module ?
    – JinSnow
    Oct 8, 2014 at 13:53
  • 1
    If it were me, I would make it a Joomla module instead.
    – Lodder
    Oct 8, 2014 at 14:00
  • You're welcome. Glad it helped. I would liked to have given you more info, however chmod permissions are not my strong point. Only know more or less the basics and what Joomla use
    – Lodder
    Oct 8, 2014 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.