CSSLP · Question #110
Which of the following specifies access privileges to a collection of resources by using the URL mapping?
The correct answer is B. Security constraint. A security constraint, often found in web application deployment descriptors, uses URL mapping to define access privileges for a collection of web resources. It specifies which users or roles are allowed to access certain parts of an application.
Question
Which of the following specifies access privileges to a collection of resources by using the URL mapping?
Options
- ACode Access Security
- BSecurity constraint
- CConfiguration Management
- DAccess Management
How the community answered
(49 responses)- A2% (1)
- B94% (46)
- D4% (2)
Why each option
A security constraint, often found in web application deployment descriptors, uses URL mapping to define access privileges for a collection of web resources. It specifies which users or roles are allowed to access certain parts of an application.
Code Access Security (CAS) is a .NET framework security policy that restricts the permissions of code based on its origin or other characteristics, not on URL mapping for resource access.
A security constraint, particularly in Java web applications, is an element defined in the deployment descriptor (e.g., web.xml) that specifies access privileges to a collection of web resources. It uses URL patterns to map specific resources and defines which users or roles are authorized to access them, thereby enforcing access control based on the request URL.
Configuration Management is the process of establishing and maintaining consistency of a product's performance, functional, and physical attributes, not directly about specifying URL-based access privileges.
Access Management is a broader discipline covering all aspects of controlling access to resources, whereas a security constraint is a specific technical mechanism for implementing access control via URL mapping.
Concept tested: Web application security - Security constraints
Source: https://docs.oracle.com/cd/E13222_01/wls/docs81/webapp/security.html
Topics
Community Discussion
No community discussion yet for this question.