Is HTTP PUT access required for uploading to SharePoint via the SaveBinaryDirect method?Upload a file to SharePoint through the built-in web servicesUpload to SharePoint with WebDav through proxy fails with HTTP 405What is the side effect of disabling HTTP PUT verb on SharePoint 2013?Upload a document into a SharePoint library with IRMUpload file to SharePoint via REST API with gulp spsaveinternal server error when uploading to SharePoint library via CSOMSharePoint 2016 large file upload when content type enabledCan't upload file to Sharepoint from APIHow to logout from Sharepoint with CSOM

Book where the stars go black due to aliens stopping human observation collapsing quantum possibilities

What explains 9 speed cassettes price differences?

Maximum charterer insertion

Can fluent English speakers distinguish “steel”, “still” and “steal”?

Why isn't pressure filtration popular compared to vacuum filtration?

Are unclear "take-it or leave-it" contracts interpreted in my favor?

Referring to different instances of the same character in time travel

Why does the U.S. tolerate foreign influence from Saudi Arabia and Israel on its domestic policies while not tolerating that from China or Russia?

As the Dungeon Master, how do I handle a player that insists on a specific class when I already know that choice will cause issues?

For a hashing function like MD5, how similar can two plaintext strings be and still generate the same hash?

When casting Eldritch Blast with the Agonizing Blast eldritch invocation, what do I add to my damage roll?

Is anyone advocating the promotion of homosexuality in UK schools?

When did the Roman Empire fall according to contemporaries?

How do Windows version numbers work?

Managing and organizing the massively increased number of classes after switching to SOLID?

What's the minimum number of sensors for a hobby GPS waypoint-following UAV?

Robbers: The Hidden OEIS Substring

Minimizing expected brier score and Brier score interpretation

Get ids only where one id is null and other isn't

Single word for "refusing to move to next activity unless present one is completed."

Why isn't there research to build a standard lunar, or Martian mobility platform?

What does "it kind of works out" mean?

Why does my String turn into Integers instead of letters after I add characters with +?

Parse source code of the RAPID robot-automation language



Is HTTP PUT access required for uploading to SharePoint via the SaveBinaryDirect method?


Upload a file to SharePoint through the built-in web servicesUpload to SharePoint with WebDav through proxy fails with HTTP 405What is the side effect of disabling HTTP PUT verb on SharePoint 2013?Upload a document into a SharePoint library with IRMUpload file to SharePoint via REST API with gulp spsaveinternal server error when uploading to SharePoint library via CSOMSharePoint 2016 large file upload when content type enabledCan't upload file to Sharepoint from APIHow to logout from Sharepoint with CSOM






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















We have developed a .NET console application to do file uploading to a SharePoint 2016 document library. The application was built using the Microsoft.SharePoint2016.CSOM library, with file uploading using on the Microsoft.SharePoint.Client.File.SaveBinaryDirect() method call.



Based on results from a web vulnerability scanning, there was a request that the “HTTP PUT method” should be disabled in IIS. However after some testing, we found that



  1. If “HTTP PUT” is enabled, the file upload is successful

  2. If “HTTP PUT” is disabled, the console application would return a 404 error from the file uploading step

We would like to confirm whether “HTTP PUT method” is necessary (and cannot be disabled) for the SharePoint CSOM SaveBinaryDirect() method.










share|improve this question






























    0















    We have developed a .NET console application to do file uploading to a SharePoint 2016 document library. The application was built using the Microsoft.SharePoint2016.CSOM library, with file uploading using on the Microsoft.SharePoint.Client.File.SaveBinaryDirect() method call.



    Based on results from a web vulnerability scanning, there was a request that the “HTTP PUT method” should be disabled in IIS. However after some testing, we found that



    1. If “HTTP PUT” is enabled, the file upload is successful

    2. If “HTTP PUT” is disabled, the console application would return a 404 error from the file uploading step

    We would like to confirm whether “HTTP PUT method” is necessary (and cannot be disabled) for the SharePoint CSOM SaveBinaryDirect() method.










    share|improve this question


























      0












      0








      0








      We have developed a .NET console application to do file uploading to a SharePoint 2016 document library. The application was built using the Microsoft.SharePoint2016.CSOM library, with file uploading using on the Microsoft.SharePoint.Client.File.SaveBinaryDirect() method call.



      Based on results from a web vulnerability scanning, there was a request that the “HTTP PUT method” should be disabled in IIS. However after some testing, we found that



      1. If “HTTP PUT” is enabled, the file upload is successful

      2. If “HTTP PUT” is disabled, the console application would return a 404 error from the file uploading step

      We would like to confirm whether “HTTP PUT method” is necessary (and cannot be disabled) for the SharePoint CSOM SaveBinaryDirect() method.










      share|improve this question
















      We have developed a .NET console application to do file uploading to a SharePoint 2016 document library. The application was built using the Microsoft.SharePoint2016.CSOM library, with file uploading using on the Microsoft.SharePoint.Client.File.SaveBinaryDirect() method call.



      Based on results from a web vulnerability scanning, there was a request that the “HTTP PUT method” should be disabled in IIS. However after some testing, we found that



      1. If “HTTP PUT” is enabled, the file upload is successful

      2. If “HTTP PUT” is disabled, the console application would return a 404 error from the file uploading step

      We would like to confirm whether “HTTP PUT method” is necessary (and cannot be disabled) for the SharePoint CSOM SaveBinaryDirect() method.







      sharepoint csom






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 9 at 21:15









      TylerH

      16.4k10 gold badges56 silver badges71 bronze badges




      16.4k10 gold badges56 silver badges71 bronze badges










      asked Mar 26 at 3:28









      EmilyEmily

      1




      1






















          2 Answers
          2






          active

          oldest

          votes


















          1














          If you use Fiddler to monitor the request, you can find it's PUT request.



          enter image description here






          share|improve this answer






























            0














            First of all, to access the SharePoint services(rest/web) the user should be authenticated. Its not like anyone can upload a file. People can use POST instead of PUT for uploading etc. So I am not sure what type of quality check you are using.



            These are the out of the box services SharePoint is providing and I have seen very big enterprises using it without the changes you have suggested.






            share|improve this answer

























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349449%2fis-http-put-access-required-for-uploading-to-sharepoint-via-the-savebinarydirect%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              If you use Fiddler to monitor the request, you can find it's PUT request.



              enter image description here






              share|improve this answer



























                1














                If you use Fiddler to monitor the request, you can find it's PUT request.



                enter image description here






                share|improve this answer

























                  1












                  1








                  1







                  If you use Fiddler to monitor the request, you can find it's PUT request.



                  enter image description here






                  share|improve this answer













                  If you use Fiddler to monitor the request, you can find it's PUT request.



                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 27 at 1:26









                  Lee_MSFTLee_MSFT

                  2,2721 gold badge2 silver badges8 bronze badges




                  2,2721 gold badge2 silver badges8 bronze badges























                      0














                      First of all, to access the SharePoint services(rest/web) the user should be authenticated. Its not like anyone can upload a file. People can use POST instead of PUT for uploading etc. So I am not sure what type of quality check you are using.



                      These are the out of the box services SharePoint is providing and I have seen very big enterprises using it without the changes you have suggested.






                      share|improve this answer



























                        0














                        First of all, to access the SharePoint services(rest/web) the user should be authenticated. Its not like anyone can upload a file. People can use POST instead of PUT for uploading etc. So I am not sure what type of quality check you are using.



                        These are the out of the box services SharePoint is providing and I have seen very big enterprises using it without the changes you have suggested.






                        share|improve this answer

























                          0












                          0








                          0







                          First of all, to access the SharePoint services(rest/web) the user should be authenticated. Its not like anyone can upload a file. People can use POST instead of PUT for uploading etc. So I am not sure what type of quality check you are using.



                          These are the out of the box services SharePoint is providing and I have seen very big enterprises using it without the changes you have suggested.






                          share|improve this answer













                          First of all, to access the SharePoint services(rest/web) the user should be authenticated. Its not like anyone can upload a file. People can use POST instead of PUT for uploading etc. So I am not sure what type of quality check you are using.



                          These are the out of the box services SharePoint is providing and I have seen very big enterprises using it without the changes you have suggested.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 27 at 8:54









                          FoxFox

                          7241 gold badge5 silver badges17 bronze badges




                          7241 gold badge5 silver badges17 bronze badges



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349449%2fis-http-put-access-required-for-uploading-to-sharepoint-via-the-savebinarydirect%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                              Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                              Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript