| bio | website | |
|---|---|---|
| location | Missouri | |
| age | 33 | |
| visits | member for | 2 years, 1 month |
| seen | Apr 4 at 18:54 | |
| stats | profile views | 8 |
PHP and beer.
|
Apr 6 |
comment |
.htaccess and linux permissions Thanks @Kromey. The .htaccess file does not allow serving php from this directory, and we also resize the images as they come in (using imagick) and use mod_rewrite for all incoming urls. We're looking at using finfo to inspect the files themselves, since MIME type is unreliable. Any other advice or sources are much appreciated. =D |
|
Apr 6 |
awarded | Student |
|
Apr 6 |
awarded | Scholar |
|
Apr 6 |
accepted | .htaccess and linux permissions |
|
Apr 6 |
comment |
.htaccess and linux permissions Aha! That makes a lot more sense. It seems apache sets the umask correctly and I was confused on execute for directories. Thanks. |
|
Apr 6 |
comment |
.htaccess and linux permissions The user can upload images to their site. They are saved and served from /files. I don't want execute permissions on this directory to prevent users from uploading malicious files and having execute permissions. |
|
Apr 6 |
awarded | Supporter |
|
Apr 6 |
asked | .htaccess and linux permissions |