<![CDATA[ [TIP] Secure your MODx-installation - My Forums]]> https://forums.modx.com/thread/?thread=19711 <![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109563 Quote from: davidm at Sep 16, 2006, 09:25 AM

After install, you have to CHMOD it to 644 so that nobody can modify it, for obvious security reason...

Ah, this makes sense, yes. Thanks! smiley]]>
Maaike Sep 16, 2006, 07:22 AM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109563
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109562 After install, you have to CHMOD it to 644 so that nobody can modify it, for obvious security reason...]]> davidm Sep 16, 2006, 04:25 AM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109562 <![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109561 Quote from: doze at Sep 15, 2006, 07:06 PM

use 0777 (also chmod the cache folder, not just the files), but change confic.inc.php back to what it is currently immediately after installing.
Thanks for your help, but (excuse my ignorance) config.inc.php currently is 777. I remember the MODX installer made me change the chmod values for these files manually to what they are now, otherwise it wouldn’t install at all.
Also, I don’t really understand how chmodding these files to 777 makes my install more secure, could you please explain some more? Thanks!]]>
Maaike Sep 16, 2006, 03:28 AM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109561
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109560 change confic.inc.php back to what it is currently immediately after installing.]]> doze Sep 15, 2006, 02:06 PM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109560 <![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109559
chmod failed on: ./assets/cache/siteCache.idx.php (0666 x)
chmod failed on: ./assets/cache/sitePublishing.idx.php (0666 x)
chmod failed on: ./manager/includes/config.inc.php (0777 x)


(Where ’x’ would be my username).
I guess I can do the chmods manually, but what values should I use? I think the values listed above are the current ones, right?
Thanks!]]>
Maaike Sep 15, 2006, 07:22 AM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109559
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109558
Chuck]]>
chucktrukk Jun 27, 2006, 05:39 PM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109558
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109557 To be absolutely correct, ask them, if your php-scripts do run under your own user-id.
Another way is to check their FAQ: If they talk about ’chmod 777’ to make something work, they’ll most probably don’t have php run suexeced (=under your uid).]]>
netnoise Jun 27, 2006, 03:55 AM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=3#dis-post-109557
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=2#dis-post-109556 Quote from: netnoise at Jun 26, 2006, 09:11 PM

(Hope your username isn’t really ’x’ wink ?...)
Thanks for your help! And no, that’s not my username grin

So... suppose I’m looking for another hosting provider, what exactly should I ask them? --> ’Can I run php under my own username’? Do you think they’ll understand what that means? (because I don’t, really...)]]>
Maaike Jun 27, 2006, 01:58 AM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=2#dis-post-109556
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=2#dis-post-109555
(Hope your username isn’t really ’x’ wink ?...)]]>
netnoise Jun 26, 2006, 04:11 PM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=2#dis-post-109555
<![CDATA[Re: [TIP] Secure your MODx-installation]]> https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=2#dis-post-109554
It says:
Sessions are stored in: /tmp
WARNING: PHP is running as user ’wwwrun’ while your username seems to be ’x’!


The sessions thing, is that bad?
And php not running under my username, how dangerous is that really? Is it likely to cause any trouble?
I’m already considering a move to another host, perhaps this’ll be the final straw...
PS: and thanks!! of course smiley]]>
Maaike Jun 26, 2006, 03:13 PM https://forums.modx.com/thread/19711/tip-secure-your-modx-installation?page=2#dis-post-109554