Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

The default security policy is restrictive for a common case #29

Closed
vjrantal opened this issue Jul 16, 2015 · 0 comments
Closed

The default security policy is restrictive for a common case #29

vjrantal opened this issue Jul 16, 2015 · 0 comments
Milestone

Comments

@vjrantal
Copy link
Contributor

Steps to reproduce:

$ manifoldjs http://www.microsoft.com -p ios
$ cd WwwMicrosoftCom/cordova/
$ cordova run ios

The end result looks something like below:

screen shot 2015-07-16 at 12 10 47

This happens, because the cross-origin resource access to download CSS files (and other resources) is blocked, which is caused by ManifoldCordova removing the "full access" rules that are created by cordova create by default (see https://github.com/manifoldjs/ManifoldCordova/blob/8e5b457c1e16cfc9c56308c5d1f26e340f48ae62/scripts/updateConfigurationBeforePrepare.js#L139).

The best default security policy would be such that it is as close as possible to the security policy enforced in modern Web browsers and honors related standards like CORS and CSP.

@ghost ghost added this to the release-0.2.0 milestone Nov 20, 2015
@ghost ghost closed this as completed Nov 26, 2015
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant