Forum Discussion

Kelly_Edinger's avatar
Jun 27, 2018

Restrict file type upload to PDF on SharePoint Online Library

I have a customer who needs to have a site collection open to the public that restricts the file types they can upload to PDF. Open to custom code or 3rd party tool solutions. Thank you in advance for any guidance.

8 Replies

  • So by public you mean unauthenticated open internet? If so SharePoint can't be your solution here. So need a little more info on what this public site collection will be, just a file upload tool? or is this supposed to be a page like site with information etc. AND a place to upload files.
    • Kamal Pandey's avatar
      Kamal Pandey
      Brass Contributor

      Curious to know why not SharePoint? we can create Anonymous site SharePoint on-premise system. 

      • Deleted's avatar
        Deleted
        Microsoft used to provide a public site option for SharePoint Online, but they removed it sometime back.
  • You could restrict document library to pdf file type using flow. Setup content approval on the document library and reject any file types other than pdf.

     

    https://www.chakkaradeep.com/2018/03/12/require-approval-of-documents-in-sharepoint-using-microsoft-flow/

    • Thank you for this. I was hoping for something automated, but I think that will be too much customization for SPO. This is good reference though.

Resources