Asp. NET control of HTML page elements (i)

Source: Internet
Author: User

The permissions of each element of the interface also need to be controlled. For example, a query user's interface contains query user button, add User button, delete User button, different roles we have to assign different permissions

An HTML page has many elements, such as

,

Wait These elements form an HTML page. In Web development, permission control is used by every system. The permissions of each element of the interface also need to be controlled. For example, a query user's interface has a query user button, add user buttons, delete user buttons, different roles we have to assign different permissions, such as the general user only the right to query the user button, the administrator has to add user buttons, query the user button permissions; Super Administrator query User button, add User button, The right to delete a user button. How do you make these three users get three different forms of interface after logging in? This is the time to use HTML elements for permission control.

It takes a few steps to achieve this:

1. The scanning interface retrieves the information of the elements to be assigned to the database.

2. Assign element permissions.

3. Interface loading.

4. Integration.

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.