This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
filesystem_permissions [2012/10/07 17:15] Christoph M. Becker added info about FTP client usage |
filesystem_permissions [2018/10/26 15:33] (current) |
||
---|---|---|---|
Line 19: | Line 19: | ||
And it's important which user accesses the file: the owner or somebody else. This depends on how PHP is executed by the webserver. If it is running as (F)CGI, the user is typically the owner of the file, otherwise not. You can look up how it's handled on your server in the PHP info under "Server API". | And it's important which user accesses the file: the owner or somebody else. This depends on how PHP is executed by the webserver. If it is running as (F)CGI, the user is typically the owner of the file, otherwise not. You can look up how it's handled on your server in the PHP info under "Server API". | ||
+ | <note>If PHP's [[http://php.net/manual/en/features.safe-mode.php|safe mode]] is enabled on your server, there may be further restrictions. It is recommended to run CMSimple_XH on a server with safe mode disabled.</note> | ||
===== Conclusion ===== | ===== Conclusion ===== | ||
Line 33: | Line 34: | ||
===== How to change permissions ===== | ===== How to change permissions ===== | ||
- | This can be done with any decent FTP client. How it works exactly depends on the FTP client, so you should look that up in its documentation. For FileZilla there's a short video tutorial on [[http://www.youtube.com/watch?v=oq0oM2w9lcQ|Youtube]]. | + | This can be done with any decent [[FTP]] client. How it works exactly depends on the FTP client, so you should look that up in its documentation. For FileZilla there's a short video tutorial on [[http://www.youtube.com/watch?v=oq0oM2w9lcQ|Youtube]]. |
===== Security ===== | ===== Security ===== | ||
Of course you can give full permissions to all files and folders (i.e. 777), and CMSimple_XH will work well. But that sacrifices security, as somebody might be able to modify a file, that shouldn't be modified. So for maximum security set only the necessary permissions, i.e. write protect all files and folders except those who need write permissions. Which files and folders need write permissions is explained in [[installation]]. | Of course you can give full permissions to all files and folders (i.e. 777), and CMSimple_XH will work well. But that sacrifices security, as somebody might be able to modify a file, that shouldn't be modified. So for maximum security set only the necessary permissions, i.e. write protect all files and folders except those who need write permissions. Which files and folders need write permissions is explained in [[installation]]. |