Powered by Blogger.

Saturday, March 1, 2014

Authorization in .NET Framework on Windows 2000

Here we will discuss about Authorization in .NET Framework on Windows 2000. Also check out:

- Anonymous Types in C#.Net

- Difference between primary key and foreign key in SQL server

- Show hide div using jQuery in asp.net

The .NET Framework on Windows 2000 provides the following authorization options
1- ASP.NET Authorization Options
2- Enterprise Services Authorization
3- SQL Server Authorization

ASP.NET Authorization Options
ASP.NET authorization options can be used by ASP.NET Web applications.ASP.NET provides the following authorization options

URL Authorization - This is an authorization mechanism, configured by settings within machine and application configuration files. URL Authorization allows you to restrict access to specific files and folders within your application’s Uniform Resource Identifier (URI) namespace.

File Authorization - File authorization applies only if you use one of the IIS- supplied Windows authentication mechanisms to authenticate callers and ASP.NET is configured for Windows authentication.You can use it to restrict access to specified files on a Web server.

.NET Roles -.NET roles are used to group together users who have the same permissions within your application. They are conceptually similar to previous role-based implementations, for example Windows groups and COM+ roles.

Enterprise Services Authorization
Access to functionality contained in serviced components within Enterprise Services applications is governed by Enterprise Services role membership. These are differ- ent from .NET roles and can contain Windows group or user accounts.

SQL Server Authorization
SQL Server allows fine-grained permissions that can be applied to individual database objects. Permissions may be based on role membership or permission may be granted to individual Windows user or group accounts.