Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Friday, September 03, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Build the right apps the right way with powerful development tools.
Visual Studio 2010. Learn more...

Home > Search > Articles & Samples > C-Sharp > Authentication
Search:
What's New - What's Hot


Implementing CLR Stored Procedure in Linq based n-tier architecture    Version: 0.00       Price: $0.00   
Total Hits: 50  |  Today: 0 Author: Virat Kothari       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article is a sequence of my previous article about “CLR Stored Procedure & creating it step by step”. In my previous article I have explained CLR Stored Procedure, benefits & drawbacks of it and also how to implement it. CLR Stored Procedure is very powerful and gives better results while executing complex logic, intense string operation or string manipulations, cryptography, accessing system resources and file management, etc. Development of any project in n-tier architecture is different ...

Authenticated Encryption        
Total Hits: 131  |  Today: 0 Author: Jeffrey Walton       Rating:  
Read Reviews | Write Review |   Your Rating: 

The concept of verifying the integrity of encrypted data appeared in the 1970s in the banking industry. The problem was studied in detail by the ANSI X9 committee, and later formalized by Katz and Yung [13]. Banks did not want to transmit data and allow an attacker to flip a bit undetected. In this situation, the attacker would not decrypt the message, instead he would only flip a bit so that the encrypted message "Post $100" would be changed to "Post $700"....

Get Authentication Type, Get Screen Resolution, and More        
Total Hits: 180  |  Today: 0 Author: Nancy Michell       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have an authentication question: I'm using Windows® authentication for a Web site in one environment, and Passport authentication in another. If I check the following value to get the authentication type in Windows sometimes an empty string is returned and sometimes "NTLM" is returned. Shouldn't it always return "NTLM"?...

HOW TO: Create Keys with Visual C# .NET for Use in Forms Authentication (Q312906)        
Total Hits: 862  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article describes how to create keys to use for encryption, decryption, and validation of Forms authentication cookie data. You can use the keys that you create in this article for the validationKey and decryptionKey attributes of the section in the element in the Machine.config and Web.config files....

User Authentication        
Total Hits: 1213  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Here, you'll learn the use of a VB.NET class library project through this User Authentication example. Instead of the conventional ADO recordset, I've used the new Dataset(check out my previous article for more information on Datasets) to traverse. Once the class is ready and compiled, you can reference this class in any VB.NET project by selecting the Project -> Add Reference menu option....

SMTP Mailer with Authentication        
Total Hits: 182  |  Today: 0 Author: pjutard.       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article describes a simple assembly to send mails programmatically using a SMTP server that requires authentication. It also works with those servers that doesn't require it.

In this release, you cannot use attachments, but I will implement it as soon as possible....

Built-in Forms Authentication - against a database        
Total Hits: 304  |  Today: 0 Author: admin under       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is an enhancement of these article(s)
* Built-in Forms Authentication - description
* Built-in Forms Authentication - sample with DOWNLOAD
Lets enhance the solutions from those articles by not storing the users and passwords in web.config but instead in a database....

Getting the authenticated username        
Total Hits: 239  |  Today: 0 Author: admin under       Rating:  
Read Reviews | Write Review |   Your Rating: 

Ok, after reading those articles we know how to limit access to a specific location on our website, but what about a more finegrained control. I mean, maybe some people should get to see some extra items in the menu or something, while other shouldn't.
Assuming you have a database with some kind of usertype column (superadmin/admin/readonly for example) the problem now is - all we know now is that all people accessing our protected area are indeed validated against our database - but we can't...

Securing directories with Forms Authentication        
Total Hits: 898  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This tutorial is a step by step examination of what you need to do to secure a directory in your application with Forms Authentication....

Authenticating with a proxy in WPF        
Total Hits: 169  |  Today: 0 Author: Paul Coldrey       Rating:  
Read Reviews | Write Review |   Your Rating: 

The basic story is that I had some code that went off to a timestamp server using HttpWebRequest and worked fine in .NET 2.0. Then I had to use it with .NET 3.0 and got the error:

(407) Proxy Authentication Required.

Now, I already had all the code to add a proxy to the request and the very same code worked in .NET 2.0 so it was a but of a mystery. At the time of writing WPF is still pretty new and so there is not a lot of documentation. Hence a week of wasted time began and once I...

Provide Your Users with Secure Authentication Capabilities Using Microsoft .NET Passport        
Total Hits: 127  |  Today: 0 Author: Michael Kogotkov-Lisin       Rating:  
Read Reviews | Write Review |   Your Rating: 

Secure sign-in, a new feature in version 2.0 of the .NET Passport single sign-in and profile service, is a functionality that will be especially useful for sites containing confidential information or anywhere security is a primary concern. Such sites include banks, medical sites, and so on. Secure sign-in is as safe as any SSL-based Web site login used today and provides a way to virtually eliminate vulnerability to replay and dictionary attacks.

This article explains secure sign-in and ...

Consuming Google (Reader) with .NET: Part 1 - Authentication    Version: 0.00       Price: $0.00   
Total Hits: 5  |  Today: 0 Author: Sandrino Di Mattia       Rating:  
Read Reviews | Write Review |   Your Rating: 

Since a few weeks I've become more and more a fan of Google Reader. This great online RSS reader supports starring items, extended search, ... anything you expect from a good RSS reader. What I would like to do in the following articles is connect to and consume Google services.

Before starting I do need to point out that there is a .NET ready API written by Google, called the Google Data Protocol. This library supports many of the Google services and is very well documented....

Service Identity and Authentication    Version: 0.00       Price: $0.00   
Total Hits: 13  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

A service's endpoint identity is a value generated from the service Web Services Description Language (WSDL). This value, propagated to any client, is used to authenticate the service. After the client initiates a communication to an endpoint and the service authenticates itself to the client, the client compares the endpoint identity value with the actual value the endpoint authentication process returned. If they match, the client is assured it has contacted the expected service endpoint. This...

AuthorizationContext Class    Version: 0.00       Price: $0.00   
Total Hits: 16  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The result of evaluating all authorization policies available from the tokens in the sent message and by calling the GetAuthorizationPolicies method....

CustomUserNameSecurityTokenAuthenticator Class    Version: 0.00       Price: $0.00   
Total Hits: 17  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Override the CustomUserNameSecurityTokenAuthenticator class when the Windows authentication provided by the WindowsUserNameSecurityTokenAuthenticator class isn't sufficient. The WindowsUserNameSecurityTokenAuthenticator class authenticates the user name and password in a UserNameSecurityToken security token as a Windows account....

AuthenticatingEventArgs Class    Version: 0.00       Price: $0.00   
Total Hits: 20  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You create a handler for the Authenticating event when you want to customize how the user's credentials are authenticated at run time. The AuthenticatingEventArgs class supplies values to any Authenticating event handler. By using the properties available in this class, you can retrieve the user credentials to customize authentication....

Forms Authentication ! An Introduction    Version: 0.00       Price: $0.00   
Total Hits: 44  |  Today: 0 Author: Kamal Singh Kharayat       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article is intended to the beginners of Authentication and Authorization in ASP.NET. Here I tried to show how to use Forms Authentication and the related authorization, using which I can deny unauthorized access to my Secure Pages....

Get The User Name In C# For NT Authentication    Version: 0.00       Price: $0.00   
Total Hits: 33  |  Today: 0 Author: Nick Parker       Rating:  
Read Reviews | Write Review |   Your Rating: 

Our department has recently begun moving all of our Client/Server Applications over to Windows NT authentication via Active Directory. Our previous applications used a SQL Server login for each user. This can become very tedious when it come to setting up users across the company for wide spread applications. There are also inherent security risks involved without the user being authenticated. I thought I would share the following code dealing with security in .NET in hopes that it will help som...

Simple Excel Automation using C#    Version: 0.00       Price: $0.00   
Total Hits: 42  |  Today: 0 Author: Gigy       Rating:  
Read Reviews | Write Review |   Your Rating: 

Create a new project, for simplicity, create a Windows application, go ahead and right click on References in the Solution Explorer, and select Add Reference? When the Add Reference window comes up, select the COM tab. This will list all Component names which are available on your machine. Since we are going to use MS Excel, you will scroll down until you find: Microsoft Excel 11.0 Object Library. You can even do the same thing PIAs. In the code I have used PIA....

SMTP Mailer with Authentication        
Total Hits: 113  |  Today: 0 Author: pjutard       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article describes a simple assembly to send mails programmatically using a SMTP server that requires authentication. It also works with those servers that doesn't require it.

In this release, you cannot use attachments, but I will implement it as soon as possible....


1  2  Next >> 

DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net