Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Keeping credentials safe on the server

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
leke
LXF regular


Joined: Mon Oct 22, 2007 6:45 pm
Posts: 503
Location: Oulu, Finland

PostPosted: Sat May 21, 2011 3:40 pm    Post subject: Keeping credentials safe on the server Reply with quote

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
_________________
http://truecenterpublishing.com/zenstory/maybe.html
Back to top
View user's profile Send private message
Dutch_Master
LXF regular


Joined: Tue Mar 27, 2007 2:49 am
Posts: 2430

PostPosted: Sat May 21, 2011 3:53 pm    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast