Ask a Question related to PHP Development, Design and Development.
-
Matt Schroebel #1
RE: [PHP] So in summary this can't be done due to permission problems?
> -Why the concern about letting that user have execute permissions,
The permissions are Read, Write, and Execute. Read and Write are self> and then prevent anyone (except those that have valid reasons) from
> having write/execute permission to the webroot.
explanatory (for directories Write means you can add new files).
Execute means you can run an program or shell script (for directories
this means you can change directories to it). There are 3 settings for
the permissions, User-rwx, Group-rwx, and Other-rwx. Apache usually
runs as an unprivileged user, so it uses the Other permissions. Other
is everyone that isn't the owner or group, so it's basically anyone else
on the server. If you give other write access to the directory with
other execute permission, then anyone can read/write to the directory.
Which means that they can delete, change text, images, what have you.
On a shared server with lots of untrusted users if could be interesting.
So create a temp directory, and give chmod o=rwx. Do your writing
there, when done stick the final file into a table in a db, and have
your main page fetch the contents.
For the CMS, before you work too much, take a look at typo3 ...
[url]http://www.typo3.com/[/url]
Matt Schroebel Guest
-
permission problems -help!!
Hi, Im trying to set permissions on my text files to 666. I downloaded the extension to do it via dreamweaver, but every time I try and change the... -
ASP.NET permission problems from a network share
Hi there, I have a new win 2003 web server and having troubles setting up .NET. Im getting the following error from my applications: ... -
So in summary this can't be done due to permission problems?
As part of a CMS I wanted to get the user to: 1) Create a new recordset via a form (with a uniqueid). 2) Press submit whereupon php gets the ID of... -
Re[2]: [PHP] So in summary this can't be done due to permission problems?
--- Burhan Khalid <phplist@meidomus.com> wrote: Understood. Understood as well. I guess I have two questions, then. 1-What is the risk of... -
Permission Problems revisited
Thanks for all the answers. I'm still somewhat in the fog. The installation owner is 'oracle'. User A is a different user. And still I would like...



Reply With Quote

