|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
This isn't really an Apache sepcific question, but I was wondering about the following :
If you run a script on a server, which writes to a text file, and you have to chmod 777 the directory, is that a security hazard. This particular sever is Apache. Could someone write commands to the text file and execute it ?? |
|
#2
|
|||
|
|||
|
>>Could someone write commands to the text file and execute it ??
If apache isn't run as suEXEC, then everyone on the same server can always rwx to your file even if you htpasswd protecting your files given you yourself have permission for such file. |
|
#3
|
|||
|
|||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by freebsd:
>>Could someone write commands to the text file and execute it ?? If apache isn't run as suEXEC, then everyone on the same server can always rwx to your file even if you htpasswd protecting your files given you yourself have permission for such file.[/quote] Thanks for the reply. I'm not really worried about other users of the server who have legit access, just people outside the "Network". I am looking to swap it over to a database quite soon, as the text file which store the "news" will grow far too large. Thanks again. |
|
#4
|
|||
|
|||
|
>>just people outside the "Network"
Then don't worry about it. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Chmod 777 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|