SnippetMaster Support Forums
Return to main website
 
February 10, 2012, 02:27:43 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 10, 2012, 02:27:43 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Pre-Sales Questions  |  Topic: File permissions and security « previous next »
Pages: [1] Print
Author Topic: File permissions and security  (Read 2918 times)
davert

Posts: 37


[-] File permissions and security
« on: December 01, 2008, 01:23:16 PM »

I really like the program so far, but I'm concerned about the security. It seems that to use the program at all, I need to make all my files world-writeable. That has obvious problems especially since I'm using php files... though I guess I can switch to SSI. Is there an alternative to this?

I guess one workaround would be putting all the snippets into a separate folder hierarchy...and marking them as includes?
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3035

SnippetMaster Author


WWW
[-] Re: File permissions and security
« Reply #1 on: December 01, 2008, 01:41:49 PM »

Yes, the alternative is to use a high quality web hosting provider that does not require world-writable file permissions for PHP software (snippetmaster) to write to files on your website. 

Basically, snippetmaster doesn't dictate what permissions are needed -- your web hosting provider does.  If they have properly configured their server for high security.. then you shouldn't require 777 or world-writable permissions.

If you'd like a recommendation for a good quality web host which does not require world-writable permission.. let me know.  Smile
Report to moderator   Logged
davert

Posts: 37


[-] Re: File permissions and security
« Reply #2 on: December 01, 2008, 03:19:50 PM »

We're using a virtual private host, running WHM/Cpanel, so we can change any settings needed. Obviously I haven't properly configured the server... are there any tips I can use?

I might just be used to bad software - I haven't tried using 765 yet.
Report to moderator   Logged
davert

Posts: 37


[-] Re: File permissions and security
« Reply #3 on: December 01, 2008, 03:22:03 PM »

d'oh!

Setting the folder to 755 and the file to 765 works!!!

My bad!
 
Well, at least the next person who was too shy to ask might learn from this. Sorry!
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3035

SnippetMaster Author


WWW
[-] Re: File permissions and security
« Reply #4 on: December 02, 2008, 02:18:59 AM »

No worries.   If anyone is worried about security or has any questions about Snippetmaster and security.. they are welcome to ask!

Smile
Report to moderator   Logged
davert

Posts: 37


[-] Re: File permissions and security
« Reply #5 on: November 17, 2009, 12:12:01 PM »

I would just like to add that chgroup is important in this. When I added suhosin and suexec, I had to change the group to match that of Apache. Under an older configuration the group had to be the same as the user. Sometimes experimentation is your friend. (I figure sooner or later someone else will have the same issues so I hope you don't mind my adding to the topic.)
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Pre-Sales Questions  |  Topic: File permissions and security « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!