Search code examples
sharepointsharepoint-2010sharepoint-2013

How do I make Sharepoint 2013 Ribbon cookies secure


How do I make Sharepoint 2013 Ribbon cookies(Ribbon.WikiPageTab and Ribbon.Read) secure?


Solution

  • Had a call with Microsoft support about it.. came to know these cookies are created by JavaScript at the client end. If we mark those Secure or HttpOnly, functionality for which these are created will be lost.

    Technically we can still mark these cookies HttpOnly and Secure by updating code in JavaScript function named “storeDataCooki” in CUI.js (under the _layouts/15 virtual path)