+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Windows Authentication

Windows Authentication

6 posts, 0 answered
  1. Chris Nelson
    Chris Nelson avatar
    1 posts
    Registered:
    29 Jun 2005
    25 Oct 2007
    Link to this post
    Is there any documentation or examples on how to site up Sitefinity using Windows Authentication?
  2. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    25 Oct 2007
    Link to this post
    Hi Chris Nelson,

    There is some documentation about authorization and authentication in the Developer Manual => Security. However, we currently don't have any examples on windows authentication or using the LDAP. Here is some basic Sitefinity - specific information about using windows authentication:

    The authorization in Sitefinity is role-based. You have two options for role-membership providers out of the box: the default sql based or the included Active Directory providers. You will find instructions on the latter in the developer manual.

    If you choose the default providers, you should have in mind that you have to add the windows users in Sitefinity by yourself in order to manage them. When you access the CMS part of Sitefinity with a logged in user, you’ll probably get a 403 exception as this user is not an administrator (does not have the right permissions). As a workaround you can first grant the needed permissions to “everyone” (you’ll need some global permissions as “Manage users”, “CMS Access”, etc.). Then change the authentication mode to windows, then login and assign users to roles.

    You wouldn't use Sitefinity with the WindowsTokenRoleProvider as it does not provide the needed functionality for managing users. Instead you can use the Telerik Active Directory Role provider, which fits with the Telerik Active Directory Membership provider. For more information, please see the Developer manual.

    If you have any other questions, feel free to contact us again.

    Kind regards,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Jason
    Jason avatar
    31 posts
    Registered:
    07 Nov 2007
    03 Dec 2007
    Link to this post
    Greetings,

    We are currently looking at using Windows Authentication for access to SItefinity.  My question is can this be used in conjunction with SQL or is it one or the others?

    Thanks in advance,

    Jason
  4. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    03 Dec 2007
    Link to this post
    Hello Jason,

    I'm sorry but I cannot understand what you mean exactly by using it in conjunction with SQL. It is necessary for every project to have an SQL database: be it MS SQL server, MySql or other. Could you please be more specific?


    Kind regards,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Jason
    Jason avatar
    31 posts
    Registered:
    07 Nov 2007
    03 Dec 2007
    Link to this post
    Of course, my apologies for lack of clarity.

    Currently I am developing the new version of our company's public facing website, we have elected to use Sitefinity for this project.  At present, we have a server setup that is serving out the in development version of the site.  Recently, my boss came to me and asked if I could use Windows Authentication to manage the backend users who can add/edit/delete content.

    I was reading the above post and what was in the documentation, and I didnt see anything about using the two together.

    What I am wondering is if I can use both the SQL based authentication and Active Directory authentication at the same time for the same site?

    It is not a big deal if it is not possible, I just want to be able to answer the question when my boss asks.

    Thanks in advance,

    Jason
  6. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    03 Dec 2007
    Link to this post
    Hello Jason,

    Thanks for the clarification. I see your point now. It would not be trivial to support both forms of authentication for one IIS application. There are ways to enable windows authentication for users from inside the domain, while Forms Authentication is present for other users. However, the last one involves some writing of code. You can find a possible solution here.

    If you need further assistance, feel free to ask again.

    All the best,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
6 posts, 0 answered