Click here to Skip to main content
11,429,399 members (69,749 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Web form
I'm totally new to the WEB Site Security model in the .Net Framework. It looks like I can assign access rules to users and/or roles using WEB.config or the WEB site administration tool. Or for that matter I could roll my ownusing the membership controls. The WEB site administration tool places/maintains entries in the ASPNET tables in my SQL Server tablesand does not create/change corresponding entries in my WEB.config file. If I make/change entries in my WEB.config file these changes do not affect my ASPNET tables. On balance I think maintaining my security/permissions within the ASPNET tables is a preferred approach. However this seems to require using the WEB site administration tool which will not be available after I deploy my application. My questions are: 1. Which is better? 2. How does the WEB.config file relate to the ASPNET tables? 3. If I use both, in a hybrid sort of approach, how would conflicts between the two be resolved? Thank you for any information you are willing to provide, it is definitely appreciated................Phil Hoop
Posted 25-Oct-12 7:00am
Comments
aspnet_regiis -i at 25-Oct-12 12:40pm
   
Nice question +5.. But I think this is a research question and not suitable for the quick answers section... It will be better if you do the research yourself and write a detailed article and post it for the CP users

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 25 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100