Closed (fixed)
Project:
Encrypt
Version:
6.x-1.0-rc5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 Oct 2009 at 15:43 UTC
Updated:
6 Dec 2009 at 16:10 UTC
Jump to comment: Most recent file
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.