Copied to clipboard

Flag this post as spam?

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


  • Jan Brinker 77 posts 103 karma points
    Jul 02, 2013 @ 11:39
    Jan Brinker
    0

    Public access login form with MVC for single user protection

    Ahoi mateys

    Currently I'd like to add a protected area to my newest website with single user protection. Now this is a task that I've done several times.. however before I switched to MVC/Razor. Back in those days I used a snippet posted here and was pretty much done: http://our.umbraco.org/forum/using/ui-questions/29641-Creating-Login-Page-for-Public-Access

    Doing the same thing with MVC seems a little more tricky and I wondered if there is any easy way to do this. I tried searching for it, but I didn't find what I was looking for.

    Ideas? Snippets?

    Jan

  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Jul 02, 2013 @ 15:21
  • Jan Brinker 77 posts 103 karma points
    Jul 02, 2013 @ 15:25
    Jan Brinker
    0

    Thanks for the link.

    That's one of the things I already found on the web, but it's not exactly what I had in mind.

    I mean if protecting a page has been made that easy by Umbraco with the public access setting, why is there no direct "out of the box" solution to access those sites then? Isn't there a solution to this without having to actually compile a binary?

    Jan

  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Jul 02, 2013 @ 15:28
    Jeroen Breuer
    0

    Perhaps the Standard Website MVC is what you need?

    Jeroen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies