趋势
点击量
Web Security
最近
 
Read More
2018年1月26日

Enhanced and Secure Connection Strings in Web.Config

Download sample – 1.89 Kb Introduction

In developing ASP.NET applications, we make heavy use of Web.Config to store and retrieve database connection strings. But we need to be aware of the fact that Web.Config is a simple XML text file and its contents are readable by any user having access to the the webserver’s file system. Albeit the fact that accesses like [...]

4
 
Read More
2018年1月26日

Roles-Based Authentication

Download source files – 43.1 Kb Download demo project – 21.9 Kb

Introduction

This article demonstrates how to use Form Authentication in ASP.NET. I have written a set of classes and a small web application that uses these classes as an example. The small application features 4 forms (pages) that allow you to do the following functions: Add new user, assign roles to [...]

6
 
Read More
2018年1月26日

Custom Authentication provider by implementing IHttpModule, IPrincipal and IIdentity

Download demo project – 15 Kb Download source – 10 Kb

Introduction

For a real-world Enterprise application, security plays an important role. Forms-based authentication is a popular technique used by many Web sites. With ASP.NET, writing forms authentication is like a breeze. Forms Authentication provider in ASP.NET exposes cookies-based authentication services to [...]

8
 
Read More
2018年1月26日

A Windows logon, web user control implementation – in ASP.NET

Download source files – 19 Kb

Overview

This article attempts to work out an example of the impersonation namespace in .NET, to logon a user through a webpage, with his Windows logon credentials. The traditional way of logging in users using their Windows authentication is by enabling the Basic Authentication property of the web application in IIS.

But, using the [...]

5
 
Read More
2018年1月26日

Using HTTP Modules To Combat Leeching

Introduction What the article explains

The article explains how an HTTP module can be used to combat leech requests to resources on your domain through GET or POST HTTP request methods. The code snippet provided defines a class that implements the IHttpModule interface. An instance of this class will hook into the ASP.NET runtime and intercept the BeginRequest event of the HttpApplication [...]

4
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Javascript
Win2K
.NET2.0
HTML
VC6
MFC
C#2.0
Architect
Advanced
第三方产品
VS2005
移动开发
.NET1.1
VB
VS.NET2003
产品展示
Design
Wiki.ASP.NET articles
Mobile
Win2003
C#3.0
企业系统
开发生命周期
.NET3.5
平台,框架&库
Ajax
.NET1.0
XML
.NET Framework
VC7
WebForms
ASP.NET 控件
Android
VS2013
.NET3.0
常规阅读
Ajax
Vista
Android
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
Bootstrap Persian DateTimePicker
 
4
Copy/Paste For Databound Objects
 
5
A Transparent menu synchronizing system
 
6
Create Visio Add-on VSL project with Toolbar, Menu and Command Handler
 
7
ListView in-line editing
 
8
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
9
The Drag and Drop interface samples
 
10
Extended Interface for Toolbars
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
Bootstrap Persian DateTimePicker
 
4
Copy/Paste For Databound Objects
 
5
A Transparent menu synchronizing system