"The cloud". That nebulous (pun intended) place, somewhere "out there" in internet-land that stores your files, photos, music, and more, so you needn't worry about getting access to to your digital files anywhere at any time. Sounds great! And it is. However, there are some dark aspects of "the cloud" that may make you think twice about putting sensitive documents or photos on just ANY server. For instance, computer crackers stealing sensitive data can happen to large corporations as easily as small ones. "The cloud" may sound like it's some large, ethereal thing, but in reality, there are real physical servers and hard disks that YOUR data is being stored on. And that data is administered by a person.
A person with flaws and foibles in charge of your personal finance information, medical history, or racy photos. I'm not trying to disparage computer admins of the world (I used to be one!). There are certainly extremely competent, ethical, and well-trained people managing your information on thousands of computers. However, there is an option available if you are privacy- and security-conscious and that option is to set up your own personal file server. One that integrates seamlessly with your Mac, iOS, and even PC. Securely sharing files on your own local network with family friends or in a small office is made easy with macOS Server. Here's how!
- Set up macOS Server
- How to set up file sharing on macOS Server
- How to connect to your personal file server
Set up macOS Server
How to set up file sharing on macOS Server
We'll be seeing up the file server for local network access. In a later tutorial, we'll show you how to connect to your home remotely via VPN and access your file server.
- Launch the Server App.
- Select File Sharing under the Services listing.
- Click the "+" under Shared Folders to add a new folder to share. Apple recommends using a separate hard drive to share your files from. However, you can create a New Folder on your main Macintosh HD if you are lacking a second hard drive.
- Click Choose once you've created your folder. Your new Shared Folder will now appear.
- Click the new folder and click the Edit button.
- Select all of the ways you want to be able to access your files.
- Select iOS to be able to connect your mobile Apple devices.
- Check Only allow encrypted connection if you need extra security. Note that this will disable the AFP protocol.
- Click OK.
- Click the OFF/ON button to start the service.
Your server is ready for local network connections!
How to connect to your personal file server
Now that your server is ready, you'll need to connect your Macs and iOS devices to get access to the data stored on your files.
Connect your Mac to your macOS File Server
- Launch Finder.
- Click your macOS Server computer under Shared in the menu on the left.
- Click Connect As.
- Enter your username and password from your file server and click Connect.
Connect your iOS device to your macOS File Server
- Launch Settings.
- Select Mail.
- Select Accounts.
- Select Add Account.
- Tap Other.
- Tap Add macOS Server Account.
- Tap a server from the list. If you don't see your server, select Other to manually enter the hostname or IP Address.
- Enter your username and password and tap Next. You'll be prompted to accept the macOS Server Identity Certificate.
- Tap Continue.
- Tap Save.
You can now access your file server from an iOS app that has built in file server access support. For example, you can open up the Pages App (opens in new tab) and select or save files by selecting Locations and tapping on OS X Server.
Is it worth it? Your thoughts?
You may be wondering if all of this is worth the hassle of setting up the server, setting up file sharing, setting up your client devices, backing up your own files in case your file server goes down, etc. And for most people, it isn't worth the task. You can simply choose Apple's iCloud (opens in new tab) for a small fee to take care of all of that.
However, if you want true control over your data, your privacy, and your security, this is the way to go. With this minimal configuration, you'll not have remote access to your files (yet!), but that remote access will be added with a future tutorial on connecting and configuring a secure VPN connection to your macOS Server! Those are my thoughts. What are yours? Tell us in the comments below!
Get the best of iMore in in your inbox, every day!
I bought a Mac Mini with Sierra, simply to act as a small office file server. Easy enough to setup, but I cannot consistently get our mix of Windows 7 and 10 and Macs 10.7.5, 10.10, and 10.11 to connect to it in a consistent manner. I am sad. :(
Is your Mac Mini going into sleep mode at all? Secondly, on hour Mac Mini under the sharing tab in settings, you may need to enable windows file sharing in options.
So what do we do now with iOS 11 and macOS Server 5.4, now that it no longer supports iOS File Sharing? This HT article states to use WebDAV: https://support.apple.com/en-us/HT207828 It says to refer to the wfsctl(8) manual page. Which should allow you to configure WebDAV as needed, but how do you access your share points in iOS? It doesn't look like the new Files.app supports adding WebDAV, but I'd need to play more. Of course they're likely refereeing to Pages/Numbers/Keynote's ability to connect to WebDAV shares, but that's limited to that app. I'd really like a way to browse my network shares hosted on my Mac mini server, so that I can attach to emails and send. I don't want to have to open a file in Pages just to email it out to someone, and if I'm trying to send a non-app file like ZIP or some other random file type, I'm not sure what options we have. There's a lot that has changed with High Sierra and Server 5.4 and very little documentation.
Thank you for signing up to iMore. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.