Search the Community
Showing results for tags 'file permissions'.
-
Really enjoying your book. On page 345 you mention that file uploads entail creating a folder that everyone can write (chmod 777). Wouldn't the best practice be to change the owner to www-data and set chmod 755 (on Linux systems)? Would this pose similar or any security risks? Would you still want to configure the .htaccess file (to restrict the folder to only make mp3s publically viewable for instance)?
- 1 reply
-
- security
- file permissions
-
(and 2 more)
Tagged with:
-
i'm working on Ch.11 on a windows 7 with php 5.3...after downloading xampp. i put the text file: quotes.txt in the web root directory. (Is this the same area where htdocs is located?) after finishing add_quote.php and uploading it to my browser, i'm getting an error that reads: "Your quotation could not be stored due to a system error." So, i guess i'm not able to send my quote to the quote.txt file. Is it my file permissions or is it my file location that is the problem? I didn't do anything to the file permissions because the book is a bit hazy as to how windows users should deal with this. If there are any suggestions as to how i can resolve this, I'd appreciate it.
- 4 replies
-
- file directories
- file permissions
-
(and 1 more)
Tagged with: