OS-3 fixing exploit to upload malicious apps through UI rest APIs
Change-Id: Ia5f14b6667d7843a80cccb2794e3de5038eaa0be
diff --git a/web/gui/src/main/webapp/WEB-INF/web.xml b/web/gui/src/main/webapp/WEB-INF/web.xml
index 10a18d2..d64f936 100644
--- a/web/gui/src/main/webapp/WEB-INF/web.xml
+++ b/web/gui/src/main/webapp/WEB-INF/web.xml
@@ -32,6 +32,10 @@
<web-resource-name>Secured</web-resource-name>
<url-pattern>/index.html</url-pattern>
</web-resource-collection>
+ <web-resource-collection>
+ <web-resource-name>Secured API</web-resource-name>
+ <url-pattern>/rs/applications/*</url-pattern>
+ </web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>