Is there a way to upload private files to AWS without granting public-read access, but still be able to view the file using a URL in a protected route on my client side (Reactjs/Nextjs)? How can I make this work? The situation: I need to send a PDF file f ...
I am in the process of setting up a basic Access Control system in Node, and I am seeking advice on the most effective approach for what I want to achieve. Currently, I am utilizing Node ACL, but it's not entirely clear how to block access based on s ...
I have been working on creating a custom Role-Permissions system that I want to set up during the initial root state resolve: $stateProvider .state('common', { resolve:{ user: function(AclService, UserService) { UserService.getCurrent ...
Hey there, I've been experimenting with setting up a 'custom' ACL that includes additional constraints. Typically, an ACL check looks like this: if(aclCheck($user, 'edit', 'really_important_value')){ // Allow $user to 'edit' the 'really_important_valu ...
I have successfully integrated passport with a JWT strategy, and it is functioning well. My jwt-protected routes are structured like this... app.get('/thingThatRequiresLogin/:id', passport.authenticate('jwt', { session: false }), thingThatRequiresLogin.fi ...