COMP 1020 Lecture Notes - Wildcard Character, Asp.Net

69 views2 pages
lavenderbeaver188 and 10 others unlocked
COMP 1020 Full Course Notes
12
COMP 1020 Full Course Notes
Verified Note
12 documents

Document Summary

To implement forms-based security, you need to follow three steps: set the authentication mode to forms authentication in the web. config file. (if you prefer a graphical tool, you can use the wat during development or iis. Manager after deployment. : restrict anonymous users from a specific page or directory in your application, create the login page. You define the type of security in the web. config file by using the tag. The following example configures the application to use forms authentication by using the. It also sets several of the most important settings using a nested tag. Namely, it sets the name of the security cookie, the length of time it will be considered valid (in minutes), and the page that allows the user to log in. To control who can and can"t access your website, you need to add access control rules to the. Here"s an example that duplicates the default behavior:

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents