Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 10:19
    dominik
    0

    Restrict Front end with password

    Hello,

    Is there any way to set a password for my front end page. It should not be possible to see any content without verifying via password.

    After inserting correct password it should be possible to see all the content

    Normally this could be done via htaccess

    Thanks

  • Rich Green 2246 posts 4008 karma points
    Jan 10, 2012 @ 10:28
    Rich Green
    0

    Hey Dominik,

    You need to have a look at Umbraco 'Membership'.

    In basic terms:

    1) Go into the membership section on Umbraco and create a member

    2) Secure a page / directory by right clicking the node in the back end and selecting 'Public Access'

    3) On the login page you select use a .NET Login Control to log the user in (using the member created in 1)

    Rich

  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 12:30
    dominik
    0

    Hi Rich,

    So i need to create a own login page? i just need a username / password prompt for all frontend pages

  • Rich Green 2246 posts 4008 karma points
    Jan 10, 2012 @ 12:32
    Rich Green
    0

    Depends what it's for?

    If it's for all pages (the whole site) you can use IIS Authetication (basic for example)

    Rich

  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 13:13
    dominik
    0

    Hi Rich,

    yes i need it for all front end pages.

    Can you please explain it more detailed

    thanks

  • Rich Green 2246 posts 4008 karma points
    Jan 10, 2012 @ 13:19
    Rich Green
    0

    Hi,

    Do you have remote desktop access to your server? If so you can use windows authetication.

    http://www.iis.net/ConfigReference/system.webServer/security/authentication/windowsAuthentication

    If not just restrict your site like I said in my first post but right click your home node and select 'Public Access'

    Rich

  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 14:39
    dominik
    0

    hi Rich,

    If i do it in your mentioned way it is asking for a login and an error page.

    Is there a standard login page i can use?

    Thanks

  • Rich Green 2246 posts 4008 karma points
    Jan 10, 2012 @ 14:43
    Rich Green
    0

    Hi,

    No there isn't a standard login page.

    You need to add a template / doctype or whatever you need and just include 

    <asp:Login runat="server" id="lgCtrl"/>

    Rich

  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 15:00
    dominik
    0

    hi Rich,

    I just tried and a form is shown to me but if i try to login with the user and password i have configured via "Public Access" does not work

    Thanks

  • Rich Green 2246 posts 4008 karma points
    Jan 10, 2012 @ 15:05
    Rich Green
    0

    Hi,

    You need to add this user as a member in the back end.

    Rich

  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 15:15
    dominik
    0

    Is it also possible to use single user protection to protect all sites - i have found this property under the "Public access" section?

     

  • Rich Green 2246 posts 4008 karma points
    Jan 10, 2012 @ 15:27
    Rich Green
    0

    I've not used that but maybe have a look at this page http://our.umbraco.org/wiki/reference/umbraco-client/context-menus/public-access

    Rich

  • dominik 711 posts 733 karma points
    Jan 10, 2012 @ 15:34
    dominik
    0

    yes i know this thread but there i need also a login page

    I tried it by adding a new member but if i click login on my new created login site i am not forwarded to my restriced page.

  • dominik 711 posts 733 karma points
    Jan 16, 2012 @ 10:54
    dominik
    0

    Any solutions?

Please Sign in or register to post replies

Write your reply to:

Draft