Click here to Skip to main content

Web Security

Great Reads

by Brij
This article discusses some problems with the earlier approach and discusses Identity federation
by Dennis Baberich
A simple check list on what to look out for when developing a website
by Brij
A way to improve performance of your Web Application significantly
by Steve Wellens
There was a question from a student over on the Asp.Net forums about improving site performance. The concern was that every time an app setting was read from the Web.Config file, the disk would be accessed. With many app settings and many users, it was believed performance would suffer. Their intent

Latest Articles

by Shemeemsha RA
First step towards securing MVC applications
by Saleh Hamadeh
Web performance trends - one load, that's all
by Saleh Hamadeh
Web security: unvalidated redirects

Research Library

Due to recent innovations in the mobile device industry, demand for...
In 2012, credit card and debit card fraud resulted in losses amounting...
For years, developers have known that one of the best ways to reassure...
Android is on the rise. Unfortunately, popularity can also bring...

Discussions

by Chad3F on article "SecurePHPWebAppCoding - SQL Injection...
by Azeet Chebrolu on article "Thinktecture Identity Server -...
by prima shah on article "Thinktecture Identity Server -...
by Shemeemsha RA on tip/trick "Form Based Parameter Tampering...
by Mohammed Sadullah on tip/trick "Form Based Parameter Tampering...

All Articles

Sort by Score

ASP.NET - Security 

26 Nov 2011
Brij
This article discusses some problems with the earlier approach and discusses Identity federation
8 May 2014
Peter Carrasco
Identity Management using the ASP.NET Identity database embedded in your ASP.NET MVC application
3 Dec 2009
Al-Farooque Shubho
This article describes a correct and smarter way of implementing Role based authorization with Forms authentication in ASP.NET.
22 Feb 2010
Pero Matić
How to automatically enforce and switch between secure (HTTPS/SSL) and non-secure (HTTP/non-SSL) web pages without hard-coding absolute URLs, using SEO friendly redirects.
8 Nov 2011
Brij
This part mainly discusses WIF and demonstrates a sample step by step
13 Oct 2011
Brij
This article discusses the basics of Claim based Authentication. This is the first part of the Series.
21 Jul 2014
Jovan Popovic
This article discusses various aspects of ASP.NET MVC security and shows some tips to implement these elements in your applications.
14 Sep 2014N
Abani Kumar Meher
This article describes how we write code while developing web application which results in SQL injection vulnerability and how we should write code to prevent it.
12 Jun 2014
Michael N. Haephrati
How Target Eye's screen capturing mechanism works
23 Feb 2009
Mohammad Dayyan
This article demonstrates how we can create a CAPTCHA image with PHP
26 Jul 2009
Heath Stewart
Provides insight and tips on using role-based (groups) Forms Authentication in ASP.NET, which has only partial support for roles.
7 Feb 2011
Matt Sollars
An article on automatically switching between HTTP and HTTPS protocols without hard-coding absolute URLs
29 Jul 2008
Jahedur Rahman Chowdhury
How to use thr captcha plugin in CodeIgniter.
4 Oct 2010
Elmue
This article contains a security check script and describes how to secure Windows and Linux webservers against hackers.
3 Apr 2006
Adam Tibi
Discussing how to encode and tamper-proof text and cookies using the MachineKey, by using reflection.
5 Aug 2014
santosh poojari
This article helps you to build and enable robust web applications with respect to various aspects of security that needs to be taken care of while designing a system.
9 Apr 2009
Gil Shabat
This article takes a look at two recent attacks on web applications and how they were perpetrated. Then it dives head first into a litany of different potential security holes and more importantly, how to plug them in ASP.Net.
9 May 2011
Stuart Blackler
A quick walkthrough showing how to protect files and folders using HttpHandlers, in VB.NET and C#.
19 Nov 2013
Azeet Chebrolu
Installing, extending Identity Server and implementing session token caching
12 Feb 2009
Mohammad Dayyan
Shows you how using PHP Fusion 7 CAPTCHA class
17 May 2006
Syed Moshiur Murshed
Encrypt and Decrypt important data with C# and play
22 May 2007
Bryan_Sullivan
In this second part of a two-part series, you will learn about application security issues related to authentication and authorization, as well as five vulnerabilities commonly found in ASP.NET web-based applications.
23 Dec 2004
Eric Newton
In this article, we talk about the lack of Cookie security built-into the ASP.NET framework, and a decent workaround to provide integrated tamper proof security for cookie data.
15 Sep 2004
ChrisAdams
A technique to use the IIS Basic Authentication mechanism to control access to trace.axd.
2 Nov 2003
I Piscean
An article on writing Custom Authentication provider in ASP.NET
13 Sep 2011
Diptee Warudkar Dalal
This article explains the core concepts of Spring Security Namespace Configuration and explains the set up required for a simple form based authentication in a web application.
27 Aug 2006
Toby Emden
How to protect secure assets using a .NET Reverse Proxy, an ISAPI redirection filter and .NET Forms Authentication
25 Aug 2010
Lewis Liu L
A simple forms authentication strategy in ASP.NET with example web site
12 Dec 2011
DestinyCoder007
Virtual keyboard - can be used for secure keying of passwords.
21 Oct 2013
dev_hsayed
Password security
31 Mar 2004
Michal Altair Valášek
By default, Forms authentication does not support single sing-on accross multiple applications. But is not too complicated to tweak it the appropriate way.
26 Aug 2010
Maxim Novak
This base controller will secure all your actions except those which will be marked as UnsecuredAction.
29 Dec 2008
Tomz_KV
Introduces a methodology for authenticating user in cross domain/platform and transferring user data from one site to another during the authentication process.
19 Mar 2006
Mohammed Faraz (Captain)
Secure file download using Basic Authentication. The interesting part is that we maintain two separate entry points for uploading and downloading a file.
24 Apr 2007
Sidney Chong
This article describes a server-side fix for the recently discovered vulnerability in the PDF reader plugin by Adobe.
12 Feb 2009
Mohammad Dayyan
Using PHPBB3 CAPTCHA
29 Feb 2004
Matthew Hazlett
How to make your server settings safer
18 Jul 2005
Amit Kukreti (Vervelogic)
An article on SQL injection attacks.
21 Apr 2011
All Time Programming
Verifying the Server Certificate on the client side using a CA file
27 Jan 2006
Cohen Shwartz Oren
How to configure IIS in order to enable the use of Named Kernel Objects in Web Services.
21 Apr 2004
yvdh
How to hide image URLs on a website to avoid illegal access, using a custom HttpHandler and encryption.
24 Nov 2003
Harish Palaniappan
A classic example of implementing reusable web user control, with supporting controls and classes to keep the code manageable.
13 Jan 2003
Syed Adnan Ahmed
How to encrypt the database password field, registry information and query string.
25 Aug 2002
brutal
They say it is not possible to use cookieless forms authentication in .NET. Well it is, and relatively easy to accomplish!
21 Apr 2006
Ahmed jamil Kattan
This article will explain how to secure websites using the ASP.NET Forms Authentication.
3 May 2007
Bryan_Sullivan
In part one of this two part article, you will learn about five of the top ten “worst offenders” of misconfigurations of application security that can cause overall problems for ASP.NET Web-based applications. Learn more about how to secure the Web.config files of an ASP.NET application.
3 Jan 2013
Michael Ulmann
Custom membership provider implementation for the ADO.NET Entity Framework.
30 Jan 2007
Sacha Barber
Protect sensitive data from nasty web bots using server / client obfuscation methods.
21 Oct 2002
James Coleman
Allows Forms-based authentication to work on non-parsed files such as images.
2 Jun 2009
sagnik mukherjee
Client side text hashing using JQuery
20 Mar 2008
David P Henry, Graham Murray
A solution for securing access to a ClickOnce application using ASP.NET Forms authentication.
22 May 2004
Vincent Brossier
Learn how easy it is to create HTTP Reverse Proxy in .NET using IIS.
25 Oct 2007
Svante Seleborg
The Decorator pattern meets Reflection in a workaround to enable SSL for ASP.NET health monitoring e-mail event providers.
27 Aug 2008
BrantBurnett
An ASP.NET system for having two authentication cookies, one secure and one insecure, to have multiple tiers of security by folder.
26 Jul 2008
Samer Abu Rabie
This article talks about the authorization security model in Web applications using .NET attributes.
12 Oct 2006
Richard Lewis
Educate yourself on security best practices for temporary file usage in software applications.
19 May 2008
Ralph in Boise
Edit web.config to Update the Data Provider for Shared Hosting with Role-Based Security: SQL Server, ODBC, Active Directory, ADAM, SQLite, MySQL, Access, XML
7 May 2008
Michael Ulmann
Clear text query strings are a potential security threat for your web application. Thus, query strings should always be encrypted.
28 May 2004
McGiv
Combines Forms Authentication with Windows or Custom Authenticator.
3 Dec 2003
KingLeon
An article to demonstrate how HTTP Module-based filtering can prevent leeching.
9 Sep 2004
Jayakanthan
The Pass-Through authentication enables a user to sign-on to their intranet and access other web applications without being asked for login again.
6 Nov 2004
Eric Newton
This article addresses some missing functionality in ASP.NET 2.0's CookieParameter type, including getting a multi-valued cookie Key value and providing some HttpCookieEncryption support.
6 Sep 2011
s.jdm
This post talks about the authentication procedure that can be done in IIS.
24 Oct 2008
sri.krish
This article explains a simple way of implementing digest protocol in C#. A sample application is provided which shows step by step digest calculation.
6 Jul 2005
Prakash Kalakoti
Using a simple example, I'll explain how to prevent a program that can register thousands of dummy users to your database and play with your database and application performance.
27 Jan 2004
David Coe
Describes the proper way to configure a server to securely run the ASP.NET worker process runs as the system account.
9 Jan 2005
JohnnyUSA
A simple way to prevent automated / dictionary login attacks without the use of CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart) images.
22 May 2003
Zek3vil
Implement a Roles-Based Authentication using ASP.NET Forms Authentication
23 May 2006
Joel Thoms
The current implementation of ASP.NET 2.0's security is great and I have fallen in love with it, but it's still too limited. I will show you how to extend ASP.NET 2.0's security using a custom HTTP Handler and your existing Web.sitemap.
11 Jul 2005
FredParcells
Protect any file type in a certain folder with login.
7 Nov 2008
Ahmed Shokr
In this article I’ll explain a solution to secure web applications using custom membership and role providers with the Enterprise Library Security Application Block and code access security.
19 Oct 2009
CalvinHartwell
A short guide on how to remove SQL Injection, with reusable code
14 Apr 2007
pgindia
Encrypt sensitive information in web.config file
27 Jan 2005
Salil Khedkar
If you are into development or quality assurance of enterprise solutions, you must be aware of the security aspect of your application. This article provides a checklist for the same...
25 Jan 2003
Vasudevan Deepak Kumar
Here we would discuss some simple steps, which would facilitate keeping our database connection strings safe and encrypted in Web.Config.
4 Oct 2007
Antebios
How to customize forms authentication to protect specific directories or pages.
22 Mar 2005
Christopher G. Lasater
This article details a way to perform web security much like ASP 2.0 does it, using an ISAPI Filter.
5 Aug 2005
Oguz Altuncu
Simple text to image generator to block spammers inserting data to your database, with ASP.NET.
8 Sep 2009
Scott Norberg
This describes some of the potential security concerns caused by common programming techniques and how to get around them.
16 Oct 2004
Hugo Hallman
An article on rationalizing away some access cheks for protected ASP.NET resources, while maintaining client side cacheability.
14 Jul 2008
Marius Mihailescu
Security is a very important topic and a very complicated one in ASP.NET.
5 Feb 2006
Catalin Radoi
How to send authenticated e-mail from ASP.NET (login/password)
12 May 2014
Peter Carrasco
Move your local MVC application to the big league with Active Directory, DNS, and IIS on Windows Server 2012
Sort by Score

General 

14 Aug 2012
Ravi_Vaswani
Setting IIS security type and user, accounts permissions using installer class and custom action
4 Jan 2013
Vyacheslav Voronenko
Compact One Time Password Generator (RFC6238) written in javascript
21 Aug 2013
Rick Bassham
How to add extra security to your MVC web application, using two factor authentication.
13 Dec 2010
Sacha Barber
Shows how to use OpenID with ASP.NET MVC Forms Authentication.
9 Sep 2011
AmrThabet
This article will focus on Stuxnet’s windows infection methods and spreading methods. The tricks were used by stuxnet and the evidences behind the criminals of stuxnet.
29 Dec 2010
Bryian Tan
An article on SQL Injection and Cross-Site Scripting with sample code in C#.
6 Feb 2012
AmrThabet
How to write a reliable shellcode on win32, how to bypass the obstacles that you will face in writing a win32 shellcode and how to implement your shellcode into Metasploit
12 Mar 2013
Joel Cogley
How to build a SaaS application using the ASP.NET SqlMembership Provider.
19 Jun 2013
Rahul Rajat Singh
In this article we will discuss about securing the user passwords by using hashing and salting on the user passwords.
6 Jun 2011
Arpit Dubey
This article explains SQL injection attacks, mitigation strategies, and factors to consider while testing.
6 Dec 2010
Skynet_Code
HTML and JavaScript code injection techniques.
8 Jul 2013
Sarvesh Kushwaha
This article describes what XSS is and how to prevent XSS attacks.
18 Jul 2012
Yves Vaillancourt
How to apply security and redirection to a view when a user cannot access a controller or a controller action in MVC
7 Mar 2012
Rahul Rajat Singh
How ASP.NET lets us create sites with an authentication and authorization mechanism in place and how we can use ASP.NET server controls to quickly and efficiently implement this.
10 Jun 2014
Kel_
Securing Spike Engine HTTP & Websockets with TLS/SSL layer.
19 Dec 2006
josekonoor
The purpose of this case study is to explain how to implement application security for ASP.NET web applications using ‘Integrated Windows Authentication’.
6 Feb 2007
Dennis Hurst
Vulnerability analysis tools and penetration testing are important parts of securing your web applications. Learn more about how the web application security industry has evolved and how to ensure the security of your applications.
2 Apr 2012
deepakaitr12345
SRE protects applications from Cross-Site Scripting (XSS) attacks by leveraging the Anti-XSS library to encode data.
7 May 2013
Dmitry Tretyakov
Step by Step tutorial describes how to create custom Security Token Service.


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid