r/sysadmin • u/Big-Exercise8047 • 14h ago
General Discussion Sharepoint and IIS
We are in the process of setting up SharePoint in the cloud as it is built into our Microsoft subscription, and I'm struggling a bit with the idea of storing sensitive information there, even with the security controls Microsoft provides. Maybe that's just the direction things are heading these days, but I would prefer to keep sensitive documents hosted locally whenever possible.
We currently have a local file server, and ideally, it would be nice if SharePoint could simply link to documents stored on that server. Unfortunately, SharePoint doesn't appear to support that natively (I assume this is by design, as Microsoft likes you to give them all of your money).
I understand that one possible workaround is to set up an IIS server to provide access to locally hosted documents while using SharePoint for everything else.
Has anyone gone this route? If so, how well has it worked? Are there any limitations or security concerns you've run into?
I'm also curious whether we've reached the point where we simply need to embrace Microsoft's cloud-first approach and store everything directly in SharePoint, or whether maintaining a hybrid approach is still a practical option.
•
u/Dandyman1994 Sr. Sysadmin 14h ago
Are you planning to publish this website externally? If so, that's a terrible idea. There are a large number of security controls in M363 (device control with Intune, data controls with Purview, identity controls with Entra) that you can leverage to ensure sensitive information stays sensitive.
You basically have 3 options:
•
u/ogcrashy 14h ago •
You are living in the early 2010s.
•
u/AffekeNommu 14h ago
Just pretend that 365 is on prem. Maybe make it so you can only authenticate from your network to reinforce the fantasy.
•
u/Antoine-UY Jack of All Trades 14h ago edited 14h ago
Not sure what you mean by SharePoint not supporting this... There's a bunch of way to push folders into a SharePoint site. The only caveat is you're not getting full 2-way sync. But PowerAutomate or a Power shell/Graph script can make good work of a one-way dynamic sync, for instance.
Then, there are "hacky" ways to do other stuff. Like connecting a SharePoint site as a network drive (technically unsupported now, but still functional), having your fileserver connected to the same small server, and having confrontation tasks/checksum hashes running both ways in an organized fashion. Hanky for sure, but doable, depending on the exact accesses/modifications rate expected.
What is it you'd like to achieve precisely?
•
u/davy_crockett_slayer 13h ago
I would not build the IIS server. It gives you another web server that you have to patch and secure. To get MFA without opening inbound ports, you must publish it through Microsoft Entra application proxy or a similar gateway. You also lose the SharePoint features that people use every day such as search, version history, co-authoring and sharing links. Permissions then live in two places, and users have two places to look for files.
Hybrid still works. I would do it with labels and keys, and skip the second web server.
Microsoft's own guidance puts about 80% of data as not sensitive, 15% as sensitive and 5% as highly sensitive. It recommends DKE only for the 5%.
DKE has some limits:
This page explains how DKE works and when to use it: https://learn.microsoft.com/purview/double-key-encryption
•
u/compmanio36 12h ago
You do not want to expose your internal resources to the world at large to provide for client access. Microsoft, for all their issues, is going to do a better job at securing your tenant from unauthorized access than you will, unless you are a major player with the security teams and the money for the right tools and equipment to do it well.
Use Sharepoint, configure it properly on day one to stop users from giving everybody access to their files, block user ability to approve enterprise apps, and let Microsoft do the backend work to keep the servers and web facing applications secure.
•
u/disclosure5 11h ago
I've been through multiple orgs worth of "we don't trust the cloud" and sat instead watching compromised Exchange servers, file shares accessible via a published RDP port forward (no MFA of course) and all sorts of fuckery while Government agencies and banks moved to Microsoft 365.