| View previous topic :: View next topic |
| Author |
Message |
leke LXF regular

Joined: Mon Oct 22, 2007 6:45 pm Posts: 479 Location: Oulu, Finland
|
Posted: Sat May 21, 2011 3:40 pm Post subject: Keeping credentials safe on the server |
|
|
If I have a text file full of user credentials, is it enough just to set the file permissions to 500 on the server to keep it protected?
Thanks _________________ I codes here: http://notsure.tk |
|
| Back to top |
|
 |
Dutch_Master LXF regular
Joined: Tue Mar 27, 2007 2:49 am Posts: 2354
|
Posted: Sat May 21, 2011 3:53 pm Post subject: |
|
|
No. Don't keep it on the server, unless you really must. Even then it's probably wise to keep it outside the DocumentRoot...
As for permissions, 400 allows only read by the owner, 600 also allows write operations. An uneven number indicates executable permissions, quite unnecessary for a simple text-file  |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|