Access Denied for localstorage in IE10

前端 未结 8 736
灰色年华
灰色年华 2020-12-01 02:38

Yesterday I installed Windows 8 and am now trying to understand why I am getting an \"Access Denied\" message when accessing localstorage. The page is being served on the sa

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 03:21

    Our users were having issues with web sites using the LocalStorage feature (including Twitter) on Windows 8 with IE 10. When accessing one of these sites with the F12 Developer Tools open, a SCRIPT5: Access is denied message appeared on the console.

    After working with Microsoft support, we identified the cause. It turned out to be a problem with the settings on the C:\Users\username\Appdata\LocalLow folder in their user profile.

    Each folder on your computer has an integrity setting. More information about the purpose of this setting is here: http://msdn.microsoft.com/en-us/library/bb625964.aspx

    The integrity setting on the AppData\LocalLow folder (and its subfolders) in each user's profile is supposed to be set to "Low" (hence the name). In our case, the integrity level was not set correctly on this folder. To rectify the problem, run the following command in a command prompt window:

    icacls %userprofile%\Appdata\LocalLow /t /setintegritylevel (OI)(CI)L

    (If there is more than one user account on the computer and the other users are having the same issue, the command needs to be run under each affected user's account.)

    As for how this setting got changed in the first place? In our case, it was caused by a problem in the customized Windows 8 image we deployed to our workstations. For others that are having the issue, my research has revealed that the use of a "system cleaner" utility may be to blame.

提交回复
热议问题