Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Knowledge Base > ASP.Net 2.0
Search:
What's New - What's Hot
Listings for Code Management Code Management (1)
Listings for DataBase DataBase (3)
Listings for Event Handling Event Handling (2)
Listings for Exception Handling Exception Handling (2)
Listings for File Management File Management (4)
Listings for Form Handling Form Handling (5)
Listings for Scripting Scripting (2)
Listings for Security Security (3)
Listings for State Management State Management (2)
Listings for User Management User Management (8)
Listings for Web Application Web Application (10)
 


How To: Use Windows Authentication in ASP.NET 2.0     
Total Hits: 225  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to configure and use Windows authentication in an ASP.NET Web application. It also shows various impersonation options available with Windows authentication and how to configure and use them with ASP.NET applications. This How To also explains how to use the various authorization mechanisms including file authorization, URL authorization, and role-based authorization with Windows authentication....

How To: Use Role Manager in ASP.NET 2.0     
Total Hits: 204  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to use the ASP.NET version 2.0 role manager. It shows how to configure the various role providers for use with your Web application, how to create new roles, how to add a user to a role, and how to use the role management API for roles-based authorization....

How To: Use Regular Expressions to Constrain Input in ASP.NET     
Total Hits: 136  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular expressions are a good way to validate text fields such as names, addresses, phone numbers, and other user information. You can use them to constrain input, apply formatting rules, and check lengths. To validate input captured with server controls, you can use the RegularExpressionValidator control. To validate other forms of input, such as query strings, cookies, and HTML control input, you can use the System.Text.RegularExpressions.Regex class. This How To shows how you can use regular...

How To: Use Protocol Transition and Constrained Delegation in ASP.NET 2.0     
Total Hits: 86  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to configure and use protocol transition and constrained delegation to allow your ASP.NET application to access network resources while impersonating the original caller. The Microsoft® Windows® 2000 operating system supports delegation; however, access to downstream servers or services cannot be limited by delegation. The Microsoft® Windows Server™ 2003 operating system provides a more secure form of delegation called constrained delegation. With constrained delegation...

How To: Use Medium Trust in ASP.NET 2.0     
Total Hits: 118  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how you can run ASP.NET Web applications in Medium trust. If you host multiple applications on the same server, you can use code access security and the Medium trust level to provide application isolation. By setting and locking the trust level in the machine-level Web.config file, you can establish security policy for all Web applications on the server. Running at Medium trust with ASP.NET version 2.0 is easier than with ASP.NET version 1.1 because when using ASP.NET 2.0, ...

How To: Use Impersonation and Delegation in ASP.NET 2.0     
Total Hits: 150  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how and when you should use impersonation in ASP.NET version 2.0 applications. By default, impersonation is turned off, and you can access resources by using the ASP.NET Web application's process identity. However, you can use impersonation to access local resources and perform operations by using the authenticated user's identity or by using a specific Windows identity. Delegation allows you to use an impersonation token to access network resources. You can enable imperson...

How To: Use Health Monitoring in ASP.NET 2.0     
Total Hits: 133  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to use health monitoring to instrument your application for a custom event. To create a custom health monitoring event, you create a class that derives from System.Web.Management.WebBaseEvent, configure the "<"healthMonitoring">" element in your application's Web.config file, and instrument your code to raise the event. Custom events are useful for recording security related events beyond those automatically recorded by ASP.NET health monitoring. For example, you could ...

How To: Use Forms Authentication with SQL Server in ASP.NET 2.0     
Total Hits: 136  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how you can use forms authentication with the SQL Server membership provider. Forms authentication with SQL Server is most applicable in situations where users of your application are not part of your Windows domain, and as a result, they do not have Active Directory accounts. This How To explains how to create a login page using the new membership Login control, configure your Web application to use forms authentication, create the user store database, grant database acces...

How To: Use Forms Authentication with Active Directory in Multiple Domains in ASP.NET 2.0     
Total Hits: 179  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to use the ASP.NET version 2.0 membership feature with multiple Active Directory domains. It shows you how to configure an ActiveDirectoryMembershipProvider for each domain and the corresponding connection strings. It also shows how to get an instance of MembershipProvider corresponding to a specific domain and how to call membership APIs, such as ValidateUser, through the relevant provider....

How To: Use Forms Authentication with Active Directory in ASP.NET 2.0     
Total Hits: 196  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to use forms authentication with Microsoft® Active Directory® directory service by using the ActiveDirectoryMembershipProvider. The How To shows you how to configure the provider and create and authenticate users. It also shows you how to enforce the password complexity rules defined by your domain policy and how you can extend your Active Directory schema to store password questions and answers. This allows you to support password resets if users forget their passwords...

How To: Use Code Access Security in ASP.NET 2.0     
Total Hits: 110  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to select an appropriate trust level for your application, and where necessary, how to create a custom ASP.NET code access security policy file to define a custom trust level. You can use different code access security trust levels to incrementally limit your exposure to security attacks and provide extra degrees of application isolation. Code access security allows you to constrain your Web application by restricting the types of resources it can access and the types o...

How To: Use Authorization Manager (AzMan) with ASP.NET 2.0     
Total Hits: 148  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to use the ASP.NET role manager to check user role membership in an Authorization Manager policy store. It also explains how to use Authorization Manager's authorization model of tasks and operations through COM interop. You can use Authorization Manager from ASP.NET to authorize Windows users....

How To: Use ADAM for Roles in ASP.NET 2.0     
Total Hits: 97  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how you can develop an ASP.NET Web site that uses Active Directory Application Mode (ADAM) to store ASP.NET roles. It shows you how to configure ADAM and the Authorization Manager (AzMan) policy store, how to create new roles and add a user to a role, and how to use the Roles Management API for roles-based authorization. Using ADAM as a roles store is a good solution for applications accessed over an intranet or extranet where the user accounts store is Microsoft Active Dir...

How To: Protect Forms Authentication in ASP.NET 2.0     
Total Hits: 91  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to securely configure and use forms authentication with ASP.NET 2.0 applications. Key factors to consider include properly securing the authentication ticket and securing the user identity store and access to that store. Failing to protect authentication tickets is a common vulnerability that can lead to unauthorized spoofing and impersonation, session hijacking, and elevation of privilege. Other common vulnerabilities include failing to secure the user store and failin...

How To: Instrument ASP.NET 2.0 Applications for Security     
Total Hits: 102  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to use custom health monitoring events to instrument your ASP.NET application to track security-related events and operations. ASP.NET version 2.0 provides health monitoring that includes instrumentation for many standard security-related and infrastructure events common to all ASP.NET applications. If you want to track additional security-related activity not covered by the standard events, or if you want to report on application-specific events, you need to create and...

How To: Encrypt Configuration Sections in ASP.NET 2.0 Using DPAPI     
Total Hits: 96  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows how to use the Windows Data Protection application programming interface (DPAPI) protected configuration provider and the Aspnet_regiis.exe tool to encrypt sections of your configuration files. You can use the Aspnet_regiis.exe tool to encrypt sensitive data, such as connection strings, held in the Web.config and Machine.config files. The DPAPI protected configuration provider supports machine-level and user-level stores for key storage. The choice of store depends largely on w...

How To: Create a Service Account for an ASP.NET 2.0 Application     
Total Hits: 87  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to create and configure a custom least-privileged service account to run an ASP.NET Web application. By default, an ASP.NET application on Microsoft Windows Server 2003 and IIS 6.0 runs using the built-in Network Service account. In production environments, you usually run your application using a custom service account. By using a custom service account, you help to isolate your application. You can audit and authorize your application separately from others, and your ...

How To: Connect to SQL Server Using SQL Authentication in ASP.NET 2.0     
Total Hits: 105  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to connect an ASP.NET application securely to Microsoft® SQL Server™ when database access authentication uses native SQL authentication. Windows authentication is the recommended way to connect to SQL Server because you avoid storing credentials in connection strings and you avoid passing passwords over the network to your database server. You can also use Microsoft Active Directory® directory service for unified account management and to enforce strong password policie...

How To: Configure MachineKey in ASP.NET 2.0     
Total Hits: 22  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows how to configure the "<"machineKey">" element to control tamper proofing and encryption of ViewState, forms authentication tickets, and role cookies. ViewState is signed and tamper proof by default. You can request encryption for pages that contain sensitive items in their ViewState by using the ViewStateEncryptionMode attribute. Forms authentication and role cookies are signed and encrypted by default. You do not need to modify the default settings unless your application is i...

How To: Use Code Access Security in ASP.NET 2.0     
Total Hits: 17  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This How To shows you how to select an appropriate trust level for your application, and where necessary, how to create a custom ASP.NET code access security policy file to define a custom trust level. You can use different code access security trust levels to incrementally limit your exposure to security attacks and provide extra degrees of application isolation. Code access security allows you to constrain your Web application by restricting the types of resources it can access and the types o...



Disclaimer - Privacy
© 2002-2017 DevASP.net