Advertisement:

Author Topic: forum directory security  (Read 276 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: 68,051
    • Arantor on GitHub
Re: forum directory security
« Reply #1 on: December 07, 2017, 07:09:14 AM »
No security difference.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Rock Lee

  • Sophist Member
  • *****
  • Posts: 1,211
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • 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 © 2017
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: 16,990
  • Gender: Male
  • CoreISP.net
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
    • CoreISP Corporation :: WebHosting, Dedicated Servers, and more!
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.
- CoreISP.net Corporation -
  WebHosting, Colocation, Domain Registration & Network Services
- DedicatedBox.us Servers -
  Low priced Servers in a high-quality Network, the place for all your (advanced) server needs.
  We specialize in hosting big boards. Contact us!

((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.