09 Dec 2009
22 Mar 2011
Link to this post
We are using Sitefinity 3.6 SP1
Our Web site hosting Server Details:
Windows Web Server 2008 R2 SP1
It has .Net Framework 2.0, 3.5 SP1 & 4.0 installed.
We are using Mysql (64 bit version) for database
One our site has been password protected using following code in Master page_load event
var cmsManager = new CmsManager();
if (cmsManager != null)
IList l = cmsManager.GetPages();
foreach (IPage p in l)
ICmsPage cmsPage = (ICmsPage)cmsManager.GetPage(p.ID, true);
cmsPage.DenyAnonymous = true;
Now we want to remove this password protection and allow anonymous user to access all pages.
In order to do this we did following but none of them work :
Master Page Code
We removed above Anonymous access deny code from all our master pages
But after these changes site pages are still password protected.
Note : After Master page code changes we also restarted the web site and application pool.
Individual Page Property
Using Sitefinity Admin area, we tried to set "Anonymous Access" property to "Allow" for particular page.
But after some time these changes are reset and again this property is set to "Deny" automatically.
We trying to identify the reason for this behavior.
Database table field update
We also set "DenyAnonymous" field to "0" in "sf_cmspageprops" table through update query directly but that did not work as well.
Note : We took backup of the database before updating this field.
Please let us know what could be wrong ?