Error: “Access to restricted URI denied”

Another possible cause of this is when you are working with a .html file directly on the file system. For example, if you’re accessing it using this url in your browser: C:/Users/Someguy/Desktop/MyProject/index.html

If that then has to make an ajax request, the ajax request will fail because ajax requests to the filesystem are restricted. To fix this, setup a webserver that points localhost to C:/Users/Someguy/Desktop/MyProject and access it from http://localhost/index.html

Leave a Comment