Category Archive for: Localization

Managing .Security Poli-cies

As you have already seen, the glue that connects code groups, permissions, and permission sets consists of three levels of security policy (enterprise, machine, and user). Security configuration information in .NET is stored in XML configuration files that are protected by Wmdows security. For example, the machine-level security policy is writable only by users in the Administrators and…

Read More →

Code Access Security

What is the importance of code access security? With role-based security, you can define what the user is allowed to do. Code access security defines what the code is allowed to do. It depends on the evidence of the code –  here is the code coming from? Depending on the origin of the code, different permissions apply. Of…

Read More →

Access Control to Resources

With the operating system, resources such as files and registry keys, as weIl as handles of a named pipe, are secured by using an access control list. Figure 20-3 shows the structure of how this maps. The resource has a security descriptor associated. The security descriptor contains information about the owner of the resource and references two access…

Read More →

Authentication and Authorization

Authentication is the process of identifying the user, and authorization occurs afterward to verify if the identified user is allowed to access a specific resource. Identity and Principal You can identify the user running the application by using an identity. The Windows Identity class represents a Windows user. If you don’t identify the user with a Windows…

Read More →

Creating Custom Cultures

languages of the world are available with .NET.You can create a custom culture. Some examples of when  reating custom cultures can be useful are to support a minority within a region or to create . ubcultures for different  ialects. Custom cultures and regions can be created with the class CultureAndRegion!nfoBuilder in the namespace Syst,m.Globalization. This class is located…

Read More →

A Custom Resource Reader

With the resource readers that are part of .NET Framework 3.5, you can read resources from resburce tiles and satellite assemblies. If you want to put the resources into a different store (such as a database), you can use a custom resource reader to read these resources. To use a custom resource reader, you also need…

Read More →

Localization with ASP.NET

With ASP.NET applications, localization happens in a similar way to Windows applications. Chapter  7, “ASP.NET Pages,” discusses the functionality of ASP.NET applications; this section discusses the loclization issues of ASP.NET applications. ASP.NET 2.0 and Visual Studio 2008 have many new features to support localization. The basic concepts of localization and globalization are the same as discussed before. However, some…

Read More →

Localization with ASP.NET

With ASP.NET applications, localization happens in a similar way to Windows applications. Chapter  7, “ASP.NET Pages,” discusses the functionality of ASP.NET applications; this section discusses the localization issues of ASP.NET applications. ASP.NET 2.0 and Visual Studio 2008 have many new features to support localization. The basic concepts of localization and globalization are the same as discussed before. However, some…

Read More →

Windows Forms Localization Using Visual Studio

In this section, you create a simple Windows application that shows how to use Visual Studio 2008  or localization. This application does not use complex Windows Forms and does not have any real inner functionality be~ause the key feature it is intended to demonstrate here is localization. In the automatically generated source code, change the namespace to Wrox.ProCSharp…

Read More →

Resources

Resources such as pictures or string tables can be put into resource files or satellite assemblies. Such resources can be very helpful when localizing applications, and .NET has built-in support to search for localized resources. Before you see how to use resources to localize applications, the next sections discuss how resources can be created and read without looking…

Read More →

Back to Top