Content deleted Content added
Billinghurst (talk | contribs) m Reverted edits by 2800:200:E200:1827:A612:64BF:6BBD:8249 (talk) to last version by Ghettoblaster |
|||
(34 intermediate revisions by 23 users not shown) | |||
Line 1:
▲{{Infobox Software
|logo =
|screenshot =
|screenshot size = 300px
|caption = Screenshot of Web Site Administration Tool main page
|developer =
Line 20:
The Web Site Administration tool was first introduced with [[ASP.NET 2.0]] along with ASP.NET Microsoft Management Console (MMC) Snap-in.<ref name="msdn_2">{{Cite web|url=http://msdn.microsoft.com/en-us/library/ms178687(VS.80).aspx|title=What's New in ASP.NET Configuration |accessdate=2008-05-22|publisher=MSDN Visual Studio 2005 Development Center}}</ref>
==Interface==
ASP.NET Web Site Administration Tool can be accessed by clicking ASP.NET Configuration from the Website menu{{Clarify|post-text="In which version or edition of Visual Studio?|date=December 2012}} or Project menu in Visual Studio 2010 Professional, or by clicking on the ASP.NET Configuration icon in the Solution Explorer window.
Programmatic access to the features provided by the ASP.NET Web Site administration tool is made possible by inclusion of the ''System.Web.Security'' namespace in the ASP.NET program. The classes ''Membership'' and ''Roles'' are used to store, access and modify user information in the ASPNETDB database. The user could be authenticated using the ''Membership.ValidateUser'' or ''FormsAuthentication.Authenticate''<ref name="authentication_authenticate">{{Cite web|url=http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.authenticate.aspx|title=FormsAuthentication.Authenticate Method |accessdate=2008-05-23|publisher=MSDN| archiveurl= https://web.archive.org/web/20080508181938/http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.authenticate.aspx| archivedate= 8 May 2008 | url-status= live}}</ref> methods. Page-based user authorization is realized by the usage of the ''AuthorizeRequest'' event of the ''HttpApplication'' class.<ref name="msdn_authorizerequest">{{Cite web|url=http://msdn.microsoft.com/en-us/library/system.web.httpapplication.authorizerequest.aspx|title=HttpApplication..::.AuthorizeRequest Event|accessdate=2008-05-23|publisher=MSDN}}</ref>
==Features==
Line 27 ⟶ 30:
* Web Site Administration Tool Application Tab
* Web Site Administration Tool Provider Tab
* Web Site Administration Tool Internals
===Security tab===
[[File:Website Admin Security.jpg|thumb]]
The security tab is used to create users and roles, group users under different roles and assign access rules either at the role-level or user-level.<ref name="security_tab">{{Cite web|url=http://msdn.microsoft.com/en-us/library/ssa0wsyf.aspx|title=Web Site Administration Tool Security Tab|accessdate=2008-05-23|publisher=MSDN}}</ref><ref name="expert_asp.net">{{cite book | title=Expert ASP.NET 2.0 Advanced Application Design: Advanced Application Design | url=https://books.google.com/books?id=RCVoZfzs6hwC&pg=PA191| last=Selly| first=Dominic|author2=Andrew Troelsen|author3=Tom Barnaby| date=2005| pages=191| publisher=Apress| isbn=159059522X}}</ref><ref name="webcast_asp.net">{{Cite web|url=http://www.asp.net/LEARN/videos/video-06.aspx|title=Lesson 9: Securing your Web Site with Membership and Login Controls|accessdate=2008-05-23| archiveurl= https://web.archive.org/web/20080519232647/http://www.asp.net/LEARN/videos/video-06.aspx| archivedate= 19 May 2008 | url-status= live}}</ref><ref name="pro_asp.net">{{cite book | title=Pro ASP.NET 2.0 Website Programming | url=https://books.google.com/books?id=zzlhSgGtVe4C&pg=PA2| last=Armstrong| first=Damon| date=2005| pages=2–6| publisher=Apress| isbn=1590595467}}</ref> When the Web site administration tool is opened to modify the existing settings, a new database is created in the App_Data folder of the application.<ref name="security_tab" /> This database stores ASP.NET membership-related information. The name of the database created is ASPNETDB by default.<ref name="security_tab" />
The security tab simplifies and optimizes user [[authentication]] and [[authorization]].<ref name="security_tab" /> It makes it comparatively easy to configure user permissions than code-based user-defined authentication systems which require a great amount of time, cost and manpower. However, a major drawback of this tool is that access rules could be defined only at the [[folder (computing)|folder-level]] and not at the [[page (computer memory)|page-level]].
===Application tab===
Line 35 ⟶ 43:
===Provider tab===
The Provider tab is used to specify the database provider for the ASPNETDB database used to store ASP.NET membership and role information.<ref name="expert_asp.net" /><ref name="pro_asp.net" /> The security page does not appear unless and until the database provider is specified in the Providers tab. An SQL Data provider is generally used, but Oracle Data providers are also used in case of Oracle databases. The provider allows the user the option
==References==
{{
{{.NET Framework}}
[[Category:ASP.NET
[[Category:Microsoft Visual Studio]]
|