1
johnnyb
How do I turn safe_mode - Off to on
  • 2009/3/19 1:40

  • johnnyb

  • Just popping in

  • Posts: 5

  • Since: 2005/12/27


I just lost 3 XOOPS 2.0 sites to hackers how do I keep this from happening to v 2.3.1. How do turn on safe_mode - Off to on. Or better yet what can I do to make my sites safe.

Johnnyb

[Moderator's Comment: I deleted your double post. Sailjapan]

2
culex
Re: How do I turn safe_mode - Off to on
  • 2009/6/14 16:59

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


The turning on/off safe mode should be done from your host or if you're using your own server in php.ini settings.

If you have hosted website you should be able to open an administration site at your host's website, and there see (fi. in advanced settings) if you can change safe mode settings. If you cannot you should talk to your host to make him change to your preferences.

If you have your own server,
in php.ini find the line with safe_mode, and change to what you need.
For instance:
safe_mode = Off

If you have httpd.conf then add in this
safe_mode = Off

Also be sure to use install Protector
https://xoops.org/modules/repository/singlefile.php?cid=59&lid=1687
Programming is like sex:
One mistake and you have to support it for the rest of your life.

3
ghia
Re: How do I turn safe_mode - Off to on
  • 2009/6/14 18:05

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check also your Apache logfiles to see how the hacking has been done. It is not always XOOPS and its modules that are aused as entrance. If you have unsave modules, you won't get secure by upgrading the core. Also the Protector module has to be installed on the right manner.

4
culex
Re: How do I turn safe_mode - Off to on
  • 2009/6/15 7:20

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Also make sure that all folders contain an index.html file, For instance the original XOOPS 2.3.3 had a lot missing. If download missing index files from xoopsnordic if you need :)
http://www.xoopsnordic.org/modules/PDdownloads/singlefile.php?cid=86&lid=44
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Login

Who's Online

201 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits