webaff Posted June 1, 2017 Share Posted June 1, 2017 Dear community, I have a solid workflow for building usual corporate websites with ProcessWire. Now I want to use PW for a kind of extranet, a webbased tool for distributing files. Specs: multilingual about 400 files at launch, scalable up to 10000 files files are typically PDF but can be of other files types front end user login with forgot password function nice to have: front end user registration 3-5 user roles for access control on page level (each file can be accessible for users of all roles or just for users of certain roles) login history files must not be accessible by direct link, of course. Would be nice to store them outside the http-root. I already did some research and one thing seams to be clear: one Page for each file is the PW-way of doing this (https://processwire.com/talk/topic/4602-flexible-downloads-using-pages/). But I'm not able to determine the right concept and modules. Out of the modules over at http://modules.processwire.com/categories/users-access/ at least 7 are promising (though overlap in features, of course). I would really appreciate any advice about modules or concepts. Thank you Link to comment Share on other sites More sharing options...
Zeka Posted June 2, 2017 Share Posted June 2, 2017 Hi @webaff multilingual about 400 files at launch, scalable up to 10000 files files are typically PDF but can be of other files types front end user login with forgot password function https://modules.processwire.com/modules/frontend-user/ or custom solution nice to have: front end user registration https://modules.processwire.com/modules/frontend-user/ or custom solution 3-5 user roles for access control on page level (each file can be accessible for users of all roles or just for users of certain roles) login history https://modules.processwire.com/modules/process-login-history/ or a custom hook probably for ___loginSuccess files must not be accessible by direct link, of course. Would be nice to store them outside the http-root. https://modules.processwire.com/modules/fieldtype-secure-file/ 4 Link to comment Share on other sites More sharing options...
webaff Posted June 2, 2017 Author Share Posted June 2, 2017 Thanks, @Zeka, for pointing out the matching modules. In my scenario I have up to 5 user groups (roles) and pages can be accessible for any combination of groups (for all groups or just some of them). What's the recommended way to achieve access control on page level? A custom solution based on concepts like here: https://processwire.com/talk/topic/3254-restricting-permissions-on-a-specific-page/ ? Or one of the following modules? https://modules.processwire.com/modules/custom-page-roles/ http://modules.processwire.com/modules/page-protector/ Thanks for further help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now