authorization
cancan and enums only on "show" action
I\'m using cancan in my rails 3 application with mysql DB. When i create a rule based on an enum column i always get AccessDenied only for \"show\" action. Any idea why?[详细]
2023-04-07 10:35 分类:问答Authenticating and authorizing users on MVC and WCF
Knowing so little about WCF, ASP.Net and Authentication/Authorization that I\'m having a hard time explaining what is bothering me.[详细]
2023-04-06 13:51 分类:问答adding new role to already authenticated user (without logging him out)
I\'m using Spring Security, and in some cases after logging in user can make some actions which should gave him access to some resources, so ideally i开发者_如何转开发t should be done via giving this[详细]
2023-04-06 13:25 分类:问答After authorization, Facebook redirects to my website but userID is not set
A user visits my application\'s canvas page which directs them to authorize the application. It then redirects 开发者_如何转开发them to my website where I use the PHP SDK to look up information about[详细]
2023-04-06 09:11 分类:问答signed_request as $_GET not $_POST
The application I\'m working on has rewrite rules in place to ensure that the user is always on https. In my fb application settings, I can define both the secure and nonsecure canvas page to use http[详细]
2023-04-06 07:05 分类:问答Designing permission names
I\'m looking for sources of information on designing permission names for our web-based application. For example, if I want a permission for creating a new member of staff, this might be called creat[详细]
2023-04-06 06:28 分类:问答The party model, permissions, customers and staff
We are using a party model for a booking application, so that customers and staff effectively share the same table in the database.[详细]
2023-04-06 05:29 分类:问答Using Devise to create private profiles
I am currently trying to create private user profiles using the Devise gem.So far I have the sign up, login, sign out and edit profile functionality working.The problem is that when 开发者_如何转开发a[详细]
2023-04-06 03:05 分类:问答ASP.NET MVC Global or BaseController ActionFilter to Execute Before OnAuthorization
In my application (ASP.NET MVC 3) I have a BaseController class that all my Controllers inherit and in that BaseController I have overridden the OnActionExecuting method to check to ensure a Session v[详细]
2023-04-05 07:49 分类:问答Incorrect authorization to IMAP from PHP
I\'m developing a website where the users can access their mailbox from my application. When I try to connect to IMAP with wrong credentials accidentally, the screen waits for a long time and the serv[详细]
2023-04-04 23:51 分类:问答