Windows Develop Bookmark and Share   
 index > Windows Forms General > Authentication in windows form applicaton.
 

Authentication in windows form applicaton.

Hello, I'm a new in windows programming. I'm trying to make a chat application. I want to know how do i manage authentication and authorization in windows form applications?
Like for website in web.config file we put codes like..
<authentication mode="Forms">
      <forms name="appcookie" defaultUrl="login.aspx"></forms>
    </authentication>
can any one help me out?
  • Moved byTaylorMichaelLMVPWednesday, October 07, 2009 1:23 PMWinForms related (From:Visual C# General)
  •  
urprob  Wednesday, October 07, 2009 1:06 PM
You can use Client Application Services, this goes well if your Chat Application Server componet is a Service. You can use WCF or plain ASP.NET Services.

Also you might want to check out PeerToPeer Networking

And there is a sample Per Channel Chat application build using this technology.
VB.NET to C# http://www.developerfusion.com/tools/convert/vb-to-csharp/
Se3ker385  Wednesday, October 07, 2009 1:57 PM
Membership and profile management , it is specific to asp.net handled through IIS but if you try to implement like this type of authentication and authorization u may be able by using web service.
But as my thinking you should try to create role and user Table in back end database sever to handle such scenario.

In other way if you try to give role base authentication and authorization by using windows authenticated account and group concern the following URL it may helpful.



Thanks.
Malik M.Shahid  Wednesday, October 07, 2009 2:54 PM
You can use it with your own database, by using the aspnet_regsql.exe tool, and if you use asp.net web service for the server chat component, you get well rounded solution.
VB.NET to C# http://www.developerfusion.com/tools/convert/vb-to-csharp/
Se3ker385  Wednesday, October 07, 2009 5:33 PM
Keep it simple, create a small form with two text boxes and a "remember me" checkbox.  Hash the password.  Store the user name and hashed password in a setting so you can resend it when the user comes back.

Hans Passant.
nobugz  Thursday, October 08, 2009 2:59 AM
You can use Client Application Services, this goes well if your Chat Application Server componet is a Service. You can use WCF or plain ASP.NET Services.

Also you might want to check out PeerToPeer Networking

And there is a sample Per Channel Chat application build using this technology.
VB.NET to C# http://www.developerfusion.com/tools/convert/vb-to-csharp/
Se3ker385  Wednesday, October 07, 2009 1:57 PM
Membership and profile management , it is specific to asp.net handled through IIS but if you try to implement like this type of authentication and authorization u may be able by using web service.
But as my thinking you should try to create role and user Table in back end database sever to handle such scenario.

In other way if you try to give role base authentication and authorization by using windows authenticated account and group concern the following URL it may helpful.



Thanks.
Malik M.Shahid  Wednesday, October 07, 2009 2:54 PM
You can use it with your own database, by using the aspnet_regsql.exe tool, and if you use asp.net web service for the server chat component, you get well rounded solution.
VB.NET to C# http://www.developerfusion.com/tools/convert/vb-to-csharp/
Se3ker385  Wednesday, October 07, 2009 5:33 PM
Keep it simple, create a small form with two text boxes and a "remember me" checkbox.  Hash the password.  Store the user name and hashed password in a setting so you can resend it when the user comes back.

Hans Passant.
nobugz  Thursday, October 08, 2009 2:59 AM

You can use google to search for other answers

Custom Search

More Threads

• Tree View Problem
• C# ArrayList to capture selected items in a listbox
• how to insert string "ALL " in combobox (while trying to retrieve column which is of date datatype)
• InvokeRequired but still "Illegal cross-thread operation"
• Default padding of TextBox control
• c# system tray application - populate with data
• Enabling AxMSFlexGrid to multilingual
• c# noob: gui with multiple "frames"
• Registry Application
• ListBox problem....or bug in VS 2005