-
-
Save alanma/1d29b09aea6e5c1f5c61adea8a8ffa3c to your computer and use it in GitHub Desktop.
appengine-web.xml (https://developers.google.com/appengine/docs/java/config/appconfig)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<static-files> | |
<include path="/my_static-files" > | |
<http-header name="Access-Control-Allow-Origin" value="http://example.org" /> | |
</include> | |
</static-files> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>profile</web-resource-name> | |
<url-pattern>/profile/*</url-pattern> | |
</web-resource-collection> | |
<auth-constraint> | |
<role-name>*</role-name> | |
</auth-constraint> | |
</security-constraint> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>admin</web-resource-name> | |
<url-pattern>/admin/*</url-pattern> | |
</web-resource-collection> | |
<auth-constraint> | |
<role-name>admin</role-name> | |
</auth-constraint> | |
</security-constraint> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment