Copied to clipboard

Flag this post as spam?

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


  • D-au 26 posts 76 karma points
    Mar 23, 2011 @ 03:30
    D-au
    0

    Implementing Sign Up and Login on umbraco

    Hi,

    Just like the title said, what's the best approach on creating a login system on umbraco, is there any documentation on this?

    I am planning to create a simple system which allows user to login and download private pdf reports. There shouldn't be any sign_up feature which I reckon will make things a bit less complicated. But again, the admin itself must be able to list and edit data/ upload pdfs to each users.

    My first idea would be to create a "form" which match user/password alias on every single particular nodes and doctypes under a certain page (Not that I know how to do this). But then again it wouldn't be a secure link.

    Any thoughts on where to start?

  • D-au 26 posts 76 karma points
    Mar 23, 2011 @ 06:38
    D-au
    0

    Just found:

    http://www.mortenbock.dk/blog/2009/04/01/setting-up-membership-in-umbraco.aspx

    As a reference to start with, it does a really good work.

     

    However, this still doesn't solve the pdf uploading issue

     

    Can't we somehow publish nodes (children) of media (pdfs) within each members?

     

    I had taken a look on "http://www.aaron-powell.com/umbraco-members-profiles" as a reference,

    however figured out no luck with implementing many pdfs on one user

     

  • jigar 170 posts 233 karma points
    Mar 23, 2011 @ 18:27
    jigar
    0

    Did you used any tools?

  • Nate 143 posts 184 karma points
    Mar 23, 2011 @ 18:47
    Nate
    0

    Here's what I would do.  Use the standard asp.net login control.  It should work out of the box.

    To protect the PDFs I would upload them to the media area and turn off IIS access to that folder.  That way you can only get them through the server.  I would add some data type on those files to say what role is required to access them.  I would add that same datatype to the members and give them the roles they need to access those files.

    You could then create a page for every PDF(which could get tedius) or create a page that queries the media library for PDFs that they have access to.  When the user clicks on that PDF check their permissions one last time, and if they have it serve them the file.

    -Nate

  • D-au 26 posts 76 karma points
    Mar 25, 2011 @ 07:36
    D-au
    0

    Awesome! Thanks for the input Nate, sounds promising. I might get back to you later after implementing the idea (I assume I might run into some more technical problems on relating those members attributes).

  • Richard Soeteman 4054 posts 12927 karma points MVP 3x
    Mar 25, 2011 @ 10:11
    Richard Soeteman
    0

    Hi,

    I've just released a media protect package, which allows you to protect media in the same simple way as you protect content in Umbraco. No additional configuration needed. Just install the package and it works.

    Check out the projects page for more info and a fully functional trial download.Think this is the easiest way to protect your pdf's. No need to code or configure :)

    Cheers,

    Richard

  • 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