趋势
点击量
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 [...]

1
 
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 [...]

3
 
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 [...]

2
 
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 [...]

1
 
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 [...]

2
分类热度
Dev
Intermediate
C#
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
Javascript
WinXP
Win2K
HTML
Architect
VC6
.NET2.0
MFC
移动开发
第三方产品
Advanced
C#2.0
Mobile
产品展示
VS2005
Design
.NET1.1
VB
Wiki.ASP.NET articles
Win2003
VS.NET2003
C#3.0
Android
企业系统
.NET3.5
开发生命周期
.NET1.0
VS2013
Ajax
XML
VC7
Android
WebForms
网络
Java
ASP.NET 控件
Vista
.NET3.0
云计算
常规阅读
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
Copy/Paste For Databound Objects
 
2
A Transparent menu synchronizing system
 
3
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
4
The Drag and Drop interface samples
 
5
Capture Screen to Clipboard including dropdown menu
 
6
Implementing a drag source
 
7
How to fix up the clipboard when it won't work
 
8
Bobril – Integration to Another Web Application
 
9
A generic IDropTarget COM class for dropped text
 
10
WSH Clipboard Access
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
Copy/Paste For Databound Objects
 
2
A Transparent menu synchronizing system
 
3
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
4
The Drag and Drop interface samples
 
5
Capture Screen to Clipboard including dropdown menu