I have a NAS at home that I use to store my documents and media files. I recently got a raspberry Pi on which I installed a media center (openElec). Giving access to the media files to the raspberry was quite a nightmare. I tried DLNA and NFS and they failed for some reasons that is not the point here. Finally I succeeded using SFTP, and I wonder if this is a good idea.
Now I am wondering which protocol I should use for my different uses.
My current and future uses are:
- File access from Windows PCs on local network (LAN and WiFi)
- File access from Windows PCs over internet
- Media center playing media files (movies, music, etc.)
- Backup of data between two NAS over internet
- Sharing data with family/friends (higher security and permission control needed)
So far I have seen:
- Windows File Service: used to map folders of the NAS
- FTP: abandoned since insecure
- SFTP: seams fine for external access
- Webdav: no idea
- NFS: No idea
I have 2 synology NAS. The main one is at my place. I use it to sync my data over multiple devices. The second one will be in another location (I mean not at home). I'll access it over internet to backup the main NAS. And maybe to share data with family/friends.
So finally my questions are:
- Which previously mentioned protocols can I use safely?
- Are there other interesting protocols?
- Which protocol suits best for the needs that I defined previously?
Just a precision, I manage the permission of the different folders individually (I mean using groups and chmod, or user by user). It may be needed for the answers.
I can understand that my question is not very accurate, but the problem is not very clear in my mind. I am not an IT guy!
Thanks for your help :)!