Telerik approved strategy for implementing a secure site
Hey,
I have scoured the forums and most of the documentation and cannot find a definitive answer or "best practice" for implementing a secure login based site.
First, I started with making a "Login" page (everyone has permissions to see it), a Page Group called "Members" (allowing authenticated users only), and a nested "Home" page inheriting permissions from its parent "Members" page group.
I added the following to the <authentication /> element in the web.config:
<forms loginUrl="~/login" timeout="20" requireSSL="false" defaultUrl="~/Members/" />
Hi Andrew,
The <forms> setting never works - you always get redirected to ~/Login, regardless to what is the specified loginUrl. There is a config section Sitefinity >> Administration >> Settings >> Advanced >> Security >> Permissions >> Backend you can change the url in LoginUrl and AjaxLoginUrl boxes. That should allow you to change the backend login. This feature (of handling the aspxerrorpath in the error pages) is not implemented at this time. We logged a task pending to be implemented on Q2.
Regards,
Ivan Dimitrov
the Telerik team