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.
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.
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).
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 :)
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?
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
Did you used any tools?
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
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).
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
is working on a reply...
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.