|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
user2222 Smarty Rookie
Joined: 18 Apr 2003 Posts: 7
|
Posted: Thu Jul 24, 2003 3:21 pm Post subject: >> What is the most SECURE CHMOD ? |
|
|
This is a technical question.
Smarty doesn't run in safe mode, but professionnals do need this.
So what kind of configuration on Apache httpd.conf, php.ini or else should we do ???
Moreover, what is the most secure CHMOD for templates files, template_c, configs, and any file or directory using Smarty.
Is it good to make so that APACHE is the OWNER of the files and directories, But then we need to chmod 5** or 7** instead of **5 and **7.
Smarty is really very good!!! |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Thu Jul 24, 2003 3:59 pm Post subject: Re: >> What is the most SECURE CHMOD ? |
|
|
user2222 wrote: | This is a technical question. |
Then lets try to not overuse bold and size 18 font
user2222 wrote: | Smarty doesn't run in safe mode, but professionnals do need this. |
$smarty->use_sub_dirs=false
user2222 wrote: | So what kind of configuration on Apache httpd.conf, php.ini or else should we do ??? |
all depends read below
user2222 wrote: | Moreover, what is the most secure CHMOD for templates files, template_c, configs, and any file or directory using Smarty. |
templates should be 644
templates_c should be 666 unless the apache process owns the files then it should be 664
configs shouls also be 644
and any file or directory using Smarty can be 644
user2222 wrote: | Is it good to make so that APACHE is the OWNER of the files and directories, But then we need to chmod 5** or 7** instead of **5 and **7. |
Making the user who owns the apache process own the files is fine as long as no one finds a security hole in your code and is able to start overwritting files.
user2222 wrote: | Smarty is really very good!!! |
That it is _________________ "Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Thu Jul 24, 2003 5:36 pm Post subject: |
|
|
@user2222:
please do not cross-post your messages to multiple forums. Your other message got the first reaction, so I am closing this topic. Please resume your conversation at the other topic. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|