Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2006, 10:44 PM
Registered User
 
Join Date: Sep 2006
Location: Brooklyn, NY, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to patelc75 Send a message via Yahoo to patelc75
Default using membership system in a Windows From app

Can someone recommend a good source on how to use the ASP.NET 2.0 membership system described in Chapter with a Windows Form app. For example, I want to be able to create login controls and update users from a Windows Form app instead of the using the wizard controls on the web side.

Thanks!
Chirag

  #2 (permalink)  
Old October 24th, 2006, 08:47 AM
jminatel's Avatar
Wrox Staff
Points: 18,940, Level: 59
Points: 18,940, Level: 59 Points: 18,940, Level: 59 Points: 18,940, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,945
Thanks: 73
Thanked 139 Times in 101 Posts
Default

Have you looked at our "Professional ASP.NET 2.0 Security, Membership, and Role Management" to see if it might give you what you need? Here's a link to the detailed table of contents:
http://media.wiley.com/product_data/...64596985-1.pdf

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press

Jim's Book of the week: No book this week - Donate to the Red Cross!

Last edited by jminatel; May 18th, 2016 at 03:42 PM.. Reason: deleted dead link
  #3 (permalink)  
Old October 24th, 2006, 06:06 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Windows Forms doesn't have a built-in membership system like this, but you do have rich support for Active Directory in case your company is using that. See the System.DirectoryServices namespace (consult Google).

Windows apps normally run in a more permissive environment unless it's locked down with Code Access Security. In that case it's possible to control which company users are allowed to use which apps, and you can even lock it down to individual functions in a program, perhaps tying them to roles in Active Directory. Your app can then test to see if the current user is allowed to use those functions, or if you choose not to test, you can just let the app abort with an exception.

Smart Clients are Windows Forms apps deployed over the web. These run in a tighter security envelope, but they still have some useful permissions, like being able to call a web service at the URL they were launched from, and the ability to write to the isolated storage area of the hard disk. You can further open up permissions using CAS and intranet security policies to control user permissions.

It's always been easier to do this stuff in Windows, but you have to code the implementation yourself.

Eric

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system.stackoverflowexception in system.windows.fo scheidel21 Pro VB.NET 2002/2003 2 May 18th, 2007 12:40 AM
Windows Standalone app echovue Visual Basic 2005 Basics 3 March 12th, 2007 03:27 PM
Accessing Windows service from a windows app sajid08 C# 1 October 6th, 2006 10:25 AM
System stop responding when I compile web app aremskar VB.NET 2002/2003 Basics 0 February 15th, 2005 09:39 AM
datagrids (windows app) bazookajoe76 C# 0 February 11th, 2005 11:24 AM



All times are GMT -4. The time now is 08:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.