Use a custom tag library and configuration file to control access to JSP page elements _ MySQL

Source: Internet
Author: User
& Nbsp; controlling client access is an issue that developers must consider when developing a BS-based system. The configuration file-based security policy defined by JSP or SERVLET controls resources in a file, that is, only a certain view can be defined and all cannot be accessed. A complex system usually requires access control for a part of the view (such as a button in the JSP page), and only allows access by users of a certain role. If

Control client access is developed based onB/SThe architecture of the system developers must consider.JSPOrSERVLETThe standard configuration file-based security policy controls resources in a file, that is, only a certain view can be defined and all cannot be accessed. A complex system usually requires a part of the view (for exampleJSPA button in the page. If a programmable security policy is adopted, because the definition of user roles and operations cannot be defined during development, and this policy increases the workload of programmers, it may not be a good solution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.