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

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

Life runs on code. Find out how Visual Studio 2010 can help you realize your vision. Learn more...

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


Authenticated Encryption        
Total Hits: 89  |  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: 166  |  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: 838  |  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: 1181  |  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: 168  |  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: 283  |  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: 220  |  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: 886  |  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: 152  |  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: 114  |  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 ...

Get SharePoint to Mail with an SMTP Server Requiring Authentication    Version: 0.00       Price: $0.00   
Total Hits: 21  |  Today: 0 Author: Vorn Mom       Rating:  
Read Reviews | Write Review |   Your Rating: 

I've been struggling to get WSS 3.0 to send e-mail to an authenticated SMTP server. I have tried the SMTP server that is part of IIS with little success. So, I came up with this quick solution after finding code to process SMTP commands. I figured this might be a common problem....

Guide to create forms authentication on SharePoint (1 of 2)    Version: 0.00       Price: $0.00   
Total Hits: 7  |  Today: 0 Author: Johan Fourie       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article records the steps I took to create forms based authentication in SharePoint assuming we already have a vanilla SharePoint site that uses Windows authentication. Only in some cases have I expanded the guide with explanations. So expect a fairly concise guide and forgive my brevity. Of course if you send me a request to expand certain parts, I will try my best to improve the article....

SharePoint: Form-Based Authentication with ADAM    Version: 0.00       Price: $0.00   
Total Hits: 10  |  Today: 0 Author: Sohel_Rana       Rating:  
Read Reviews | Write Review |   Your Rating: 

Active Directory Application Mode is a lightweight version of Active directory. Active directory setup requires much infrastructure, investment and management. ADAM runs as non-operating system service whereas Active Directory(AD) runs as OS service. So whereas only one AD exists per OS, there may be multiple ADAM running in a single OS....

Implementing CLR Stored Procedure in Linq based n-tier architecture    Version: 0.00       Price: $0.00   
Total Hits: 28  |  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 ...

Forms Authentication ! An Introduction    Version: 0.00       Price: $0.00   
Total Hits: 24  |  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: 19  |  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...

Provide Your Users with Secure Authentication Capabilities Using Microsoft .NET Passport    Version: 0.00       Price: $0.00   
Total Hits: 12  |  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....

Simple Excel Automation using C#    Version: 0.00       Price: $0.00   
Total Hits: 26  |  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: 86  |  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....

Subverting Vista UAC in Both 32 and 64 bit Architectures        
Total Hits: 84  |  Today: 0 Author: Pero Matić       Rating:  
Read Reviews | Write Review |   Your Rating: 

The purpose of this article is to illustrate how to correctly launch an interactive process from a service in Windows Vista, and also to demonstrate how to launch that process with full Administrator privileges. An interactive process is one that is capable of displaying a UI on the desktop. The article shows how to create a service called LoaderService that serves as an application loader and whose purpose is to launch, at boot time, a command prompt that runs as an Administrator. The article c...


1  2  Next >> 


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