Advertisement:

Author Topic: forum directory security  (Read 1404 times)

Offline panoskouf

  • Newbie
  • *
  • Posts: 9
forum directory security
« 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)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,111
Re: forum directory security
« Reply #1 on: December 07, 2017, 07:09:14 AM »
No security difference.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,766
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: forum directory security
« Reply #2 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!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline panoskouf

  • Newbie
  • *
  • Posts: 9
Re: forum directory security
« Reply #3 on: December 07, 2017, 07:56:41 AM »
thank you

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 18,354
  • Gender: Male
  • Liroy van Hoewijk
    • coreisp on GitHub
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
Re: forum directory security
« Reply #4 on: December 07, 2017, 09:35:14 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.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.