Asp.Net Security MCQ
If any user has disabled cookies in their browsers, what can you do to enable them to use forms authentication?
Set cookieless=true;
Use the AutoDetect setting of the cookieless attribute
None
Set BoweserCookieEnabled=true;
Which of the following Web.config files correctly enables the Web application to track the LastVisit of anonymous users in a variable of type DateTime?
Correct Answer:
<anonymousIdentification enabled='true' /> <profile> <properties> <add name='LastVisit' type='System.DateTime' allowAnonymous='true' /> </properties> </profile>
Note: This Question is unanswered, help us to find answer for this one
You are creating an ASP.NET application for Google. The company uses Microsoft Windows authentication. All users are in the Google domain.
You want to configure the application to use the following authorization rules:
1. Anonymous users must not be allowed to access the application.
2. All employees except Raj and Shiva must be allowed to access the application.
Which code you will apply to configure the application?
Correct Answer:
<authorization> <deny users=' Google \Raj, Google \Shiva'> <deny users='?'> <allow users='*'> </authorization>
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
All
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
In the authorization section of the Web.config file, set the users attribute of the deny element to '?'
Note: This Question is unanswered, help us to find answer for this one
Choose the correct option according to given statements.
Statement 1: Authentication is the process that determines the identity of a user.
Statement 2: Authorization is the process of determining whether a user is permitted access to any part of an application, or any particular resource.
Statement 3: Authorization is the process that determines the identity of a user.
Statement 4: Authentication is the process of determining whether a user is permitted access to any part of an application, or any particular resource.
Correct Answer:
Statement 1 and Statement 2 are correct
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
LoginStatus
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Intranet environment
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Login.aspx
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
- Profile.Address.Street - Profile.Address.City
Note: This Question is unanswered, help us to find answer for this one
Microsoft .Net Technologies MCQs | Topic-wise