Similar to my previous thread, I am confirming the following functions:
Objectives:
- Intranet site for corporate users
- All users are automatically logged in as the Windows user
- Security Roles named the same as AD groups will be updated automatically with User memberships
- No access to unauthenticated users (e.g. visiting vendors)
- Page access control using Security Roles (matched to AD groups)
- Simple base URL (e.g. "myhome") to access the site
I started with the following configuration
- W2K3 SP1
- .Net 2.0 plus all security patches
- SQL Server 2005 Express
- DNN 4.3.5 installed from Install.zip in C:\Inetpub\wwwroot\DotNetNuke 4.3.5
- "myhome" added as DNS alias for actual server name (e.g. "myserver")
I made the following modifications:
- Installed DNN AD Fix for DNN 4.3.5 from http://dnn.gmss.org
- Made a backup copy of the DLL's just in case.
- Changed Windows folder permissions
- Copied permissions from parent folder
- Added MYSERVER\NETWORK SERVICE with Modify permissions
- In IIS Manager:
- Under Web Service Extensions, made sure ASP.NET 2.0 was Allowed
- Added new Web Site called DotNetNuke 4.3.5 pointing to C:\Inetpub\wwwroot\DotNetNuke 4.3.5 using all other defaults
- Opened Propertied for Web Site DotNetNuke 4.3.5
- Under Web Site tab, Advanced... button, added "myhome" to host header value (since I am using a virtual server differentiated by a DNS alias)
- Under Home Directory tab, changed Execute permissions to Scripts and Executables
- Under Directory Security tab, Authentication and access control, Edit, removed anonymous access, ensured Integrated Windows authentication was checked.
- Under ASP.NET tab, ensured version 2.0 was selected (I didn't have any other versions installed anyway)
- Edited .\web.config file
- Uncommented the following line:
- <add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" />
I believe these are all the steps required. Windows users should be automatically logged in when they enter http://myhome in their browser.
I also made a couple of cosmetic changes.
First, create a new page with the Hidden attribute selected. On this page, add the Account Login module and a Links module. To the Links module, add a link to http://myhome/admin/security/Logoff.aspx. This is to ensure that you have a way to logoff as the current user and log back in as the Admin or Host user (or your regular user again). I also added a link to http://myhome/admin/security/WindowsSignIn.aspx so I can easily log back in as my windows user.
In Site Settings, Advanced Settings, Security Settings, I changed User registration to none since I do not want users to attempt to register.
In order to prevent users from logging off, I then modified the file C:\Inetpub\DotNetNuke 4.3.5\Portals\_default\Skins\DNN-Blue\Horizontal Menu - Fixed Width.ascx as follows:
<TD width="200" vAlign="top" align="right" nowrap><dnn:USER runat="server" id="dnnUSER" /><!-- <dnn:LOGIN runat="server" id="dnnLOGIN" />--></TD>
I know this is a long post, but I wanted to put everything in one place.
I would would really like to know if anyone can reproduce the behavior I describe on their own and confirm these steps.