Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: panoskouf on December 07, 2017, 04:46:09 AM

Title: forum directory security
Post by: panoskouf on December 07, 2017, 04:46:09 AM
Is there a difference security wise if I keep my smf files in a directory or not.

Example:

location:       /var/www/html/index.php(and all other files)     vs    /var/www/html/forums/index.php(and all other files)
Title: Re: forum directory security
Post by: Arantor on December 07, 2017, 07:09:14 AM
No security difference.
Title: Re: forum directory security
Post by: -Rock Lee- on December 07, 2017, 07:23:54 AM
There should be no differences, what makes it vulnerable is the use of a weak password in the cpanel.


Regards!
Title: Re: forum directory security
Post by: panoskouf on December 07, 2017, 07:56:41 AM
thank you
Title: Re: forum directory security
Post by: LiroyvH on December 07, 2017, 09:35:14 AM
Quote from: Rock Lee on December 07, 2017, 07:23:54 AM
There should be no differences, what makes it vulnerable is the use of a weak password in the cpanel.


Regards!

Well not just the cPanel password is important. ;)
Plus, its important to secure files and directories by using sane permissions (chmod)... That can even protect you for example if your admin password is leaked so that the files cannot be altered through the admin center. Sure that comes with a bit of inconvenience, but it helps a lot in terms of security. Very important measures to take.