|
|
|
Welcome to Security in .NET section of C# Corner. In this section, you will find artciles, tutorials, sample code, tips, and resources related to security in .NET.
|
|
|
|
|
|
|
|
|
A Glance at Web Application Security
by
Pietros Ghebremicael
on
Jun 08, 2009
Web application security involves implementing protective measures against potential threats, malicious or unintentional, that exploit exposed vulnerabilities. Security is best implemented using the defence-in-depth technique by applying protective measures at network, host, and web application levels. This article will focus on security at the application level by exploring IIS and ASP.net authentication, authorization and secure communication.
|
Test for Desktop User Group Membership with C#
by
Scott Lysle
on
Nov 10, 2008
This article describes a simple approach to determining whether or not a logged in user is a member of a group within the context of a desktop application. The approach shown relies upon the use of the user’s current Windows identity.
|
Encrypt and decrypt sensitive metadata within your Config file
by
Bechir Bejaoui
on
Jun 19, 2008
In a certain cases, metadata embedded within your configuration file is sensitive. In fact, imagine that you develop an application that uses a data base as data source; all information about this data base is located in the configuration file. What if a hacker success to log into your configuration files and obtains the connection string and other metadata about your data base??
|
Using symmetric algorithms to encrypt data
by
Bechir Bejaoui
on
May 21, 2008
In this article, I will propose a method of how to encrypt data and store it using symmetric algorithms whose are, in fact, four integrated classes within the .Net framework, namely DES,RC2,Rijndael and TripleDES but I will perform the task using the two last ones as they are the mostly used in real time cases.
|
.NET SQL Authorization Manager
by
Andrea Ferendeles
on
Feb 01, 2007
.NET Sql Authorization Manager (AzMan x .NET 2.0) allows you to set Item-based permissions for Authorization Manager-enabled Microsoft.NET 2.0 applications. Storage reside on a MS Sql Server DataBase and can be administrated by a managed MMC 3.0 Snap-In.
|
LDAP Access Control for ASP.Net
by
Wojtek Piaseczny
on
Feb 01, 2007
This is an example of how to build an ASP.NET LDAP authentication application using ADAM. This article describes how to configure ADAM for regular LDAP communication and build a boilerplate ASP.NET application on top of it.
|
How to maintain a CodeGroup in Security Policy at Runtime?
by
Subramanian Veerappan
on
Jan 31, 2007
Whenever protected resources are accessed by an assembly, it’s permissions are determined by the code access security system of CLR. Each permission set granted to an assembly is based on the assembly's evidence (such as its URL or publisher certificate, strong name), which in turn is based on configurable security policy.
|
10 Measures to Reduce Credit Card Fraud for Internet Merchants
by
fraudlabs inc
on
Jan 30, 2007
The purpose of this document is to introduce 10 preventative measures that merchants can take in order to minimize credit card fraud. In addition, we would like to take this opportunity to introduce a complete suite of FraudLabs™ Web Services specializing in the analysis of credit card fraud risk for Internet merchants.
|
Security Steps for Strong Authentication
by
Sonu Chauhan
on
Jan 29, 2007
Weak authentication increases the identity spoofing threat. If a user’s logon credentials fall into the wrong hands, an attacker can spoof the user’s identity and gain access to the application. The attacker shares all of the user’s privileges in the application. Credentials must be protected as they are passed over the network and while they are persistent
|
|
|
|
|
|
|
|
|
Bonnie.NET Standard Edition
by
Matteo Slaviero
on
Aug 29, 2009
“Bonnie.NET” is a cryptographic API written for the Microsoft® .NET Framework. It allows the generation and management of cryptographic objects based on the today most used cryptographic algorithms. “Bonnie.NET” implements almost all the instruments needed when developing code with enhanced data protection based on cryptography.
|
How do I request the permissions my code needs?
by
Mahesh Chand
on
Apr 02, 2007
Since you do not necessarily have control over what permissions are assigned to the code you write, the common language runtime provides a mechanism for requesting the permissions that you feel your code must have in order to run properly.
|
How do I check the Windows Identity in a client application?
by
Mahesh Chand
on
Apr 02, 2007
User identity is a common means of controlling access to a business application or limiting the options available within that application. The .NET Framework classes under the namespace System.Security.Principal are provided to assist in making such role-based security determinations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation. Transformation may be applied to graphics shapes, curves, images, and colors.
|
|
Browse more books here»
|
|
|
|
|