OFFERS

C# Cookbook, Chapter 17: Security
C Microsoft NET Application Security Software: There are many ways to address Microsoft NET application security. The security of running code in .NET revolves around the concept of Code Access Security (CAS). CAS determines the trustworthiness of an assembly based upon its origin and the characteristics of the assembly itself, such as its harsh value. For example, the application security policy means that code installed locally on the machine is more trusted than code downloaded from the Internet. The runtime will also validate an assembly’s metadata and type safety before that code is allowed to run.

Click here to download pdf version of paper.


Introduction

There are many ways to secure different parts of your application. The security of running code in .NET revolves around the concept of Code Access Security (CAS). CAS determines the trustworthiness of an assembly based upon its origin and the characteristics of the assembly itself, such as its harsh value. For example, code installed locally on the machine is more trusted than code downloaded from the Internet. The runtime will also validate an assembly’s metadata and type safety before that code is allowed to run.

There are many ways to write secure code and protect data using the .NET Framework. In this chapter, we explore such things as controlling access to types, encryption and decryption, random numbers, securely storing data, and using programmatic and declarative security.

Encrypting and Decrypting a String

If you're interested in this topic, these articles may be helpful:

Addressing security issues in Linux
by Mark Chapman, technical writer, IBM Corp. First published at IBM...
XML serialization in C#
by Andrew Ma Object serialization is an important topic which is...
Creating an object in C#
Joe Grip Learn how to define simple objects in C# with this interac...
Parameter passing in C#
by Jon Skeet, software engineer, Clearswift. Many people have bec...
Web-service wrapper patterns (C# and VB.NET)
by Raj Kesarapalli, product manager, IBM Rational Software, IBM Corp...

Related Jobs:

Software Engineer #432177 - CA - Huntington Beach - Radiant Systems, Inc
GENERAL POSITION SUMMARY: Design and develop Windows Forms applicat...
Software Developer #EDE000CB - MN - Eden Prairie - Marsh Inc.
Software Developer – EDE000CB (To return to the Job List, ...
Business Analyst #866751 - TX - Plano - McAfee, Inc.
Business Analyst Job Code: 866751 Division: Information Te...
Software QA Engineer #866587 - TX - Plano - McAfee, Inc.
Software QA Engineer Job Code: 866587 Division: Engineerin...
Data Mapper Project Opportunity - WI - Milwaukee - York Enterprise Solution
Position Duties & Responsibilities: • Analysis of customer-supplied da...
Software QA Engineer #864540 - CA - Mission Viejo - McAfee, Inc.
Software QA Engineer Job Code: 864540 Division: Engineerin...
Help Desk Analyst #866771 - TX - Plano - McAfee, Inc.
Help Desk Analyst Job Code: 866771 Division: Information T...
Integration Engineer #B854746 - CA - Sunnyvale - McAfee, Inc.
Integration Engineer Job Code: B854746 Division: Engineeri...
Software Developer #RIC0002T - VA - Richmond - Marsh Inc.
Software Developer – RIC0002T (To return to the Job List, ...
Information Technology Specialist #61593877 - DC - Washington - USAJOBS
MAJOR DUTIES: Top Incumbent is a team member and/or Team Leader...