Revision 4724
Added by daigle almost 16 years ago
web.xml.tomcat5 | ||
---|---|---|
459 | 459 |
</error-page> |
460 | 460 |
--> |
461 | 461 |
|
462 |
<security-constraint> |
|
463 |
<web-resource-collection> |
|
464 |
<web-resource-name>CFG</web-resource-name> |
|
465 |
<url-pattern>*.cfg</url-pattern> |
|
466 |
</web-resource-collection> |
|
467 |
<auth-constraint/> |
|
468 |
</security-constraint> |
|
469 |
|
|
470 |
<security-constraint> |
|
471 |
<web-resource-collection> |
|
472 |
<web-resource-name>PROPERTIES</web-resource-name> |
|
473 |
<url-pattern>*.properties</url-pattern> |
|
474 |
</web-resource-collection> |
|
475 |
<auth-constraint/> |
|
476 |
</security-constraint> |
|
477 |
|
|
462 | 478 |
</web-app> |
Also available in: Unified diff
add security constraint sections to disallow access to *.cfg and *.properties files.