It would probably be a good thing to have the module chmod the keyfile to 0600 (setting read and write permissions only to owner) after its been written. This would lock the file from being read (and written to) by anyone other than the user which the webserver is being run as.
Windows might not support this, but it should work well on all UNIX-like systems.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | chmod.patch | 605 bytes | easyfit |
Comments
Comment #1
easyfit commentedComment #2
zzolo commentedCommitted: http://drupal.org/cvs?commit=292572
Note that I used the drupal string functions instead of the PHP ones.