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

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

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

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

4
 
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
C#2.0
MFC
Architect
Advanced
第三方产品
移动开发
VS2005
VB
.NET1.1
VS.NET2003
产品展示
Design
Mobile
Wiki.ASP.NET articles
Win2003
C#3.0
企业系统
.NET3.5
开发生命周期
平台,框架&库
.NET Framework
.NET1.0
Ajax
XML
VC7
WebForms
Android
VS2013
ASP.NET 控件
.NET3.0
云计算
常规阅读
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
A Transparent menu synchronizing system
 
4
Copy/Paste For Databound Objects
 
5
Bootstrap Persian DateTimePicker
 
6
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
7
ListView in-line editing
 
8
Extended Interface for Toolbars
 
9
Bobril – Integration to Another Web Application
 
10
Create Visio Add-on VSL project with Toolbar, Menu and Command Handler
周最高分
无内容,请浏览其它分类
十佳
点击量
 
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
A Transparent menu synchronizing system
 
4
Copy/Paste For Databound Objects
 
5
Bootstrap Persian DateTimePicker