access-rules

WCF File Repository and Security - Error in permissions on saving file

半腔热情 提交于 2019-12-14 04:00:11
问题 I have a file repository service that for the most part works. The issue is, once I started to implement DirectorySecurity into the methods I ran into issues. The directories create just fine, the assigned accounts to directories are given access, but all permissions end up under "special permissions". That, however, is not the problem. The problem arises when I try to write a new file. I get the following error message: System.ServiceModel.FaultException'1 ... Access to the path ... is

yii RBAC and yii controllers access rules

南笙酒味 提交于 2019-12-11 10:03:37
问题 I'm trying to customize RBAC, so I've made several roles for users. Now I'm trying to understand how to tell to controller which action should be accessed by which role. In Controllers code I see this public function accessRules() { return array( array('allow', // allow all users to perform 'index' and 'view' actions 'actions'=>array('index','view'), 'users'=>array('*'), ), array('allow', // allow authenticated user to perform 'create' and 'update' actions 'actions'=>array('create','update'),

Store ASP.Net access rules on SQL Server

China☆狼群 提交于 2019-12-08 02:07:55
问题 So I know it's possible to store Users and Roles on SQL server but I was wondering if it was also possible to store the access rules on SQL Server . I've searched but I can't find anything. Our auditor requires us to run reports that tell us which users have access to which websites. Currently I am parsing each web.config file to see which users/roles have access, storing that in SQL server and running a report off of that but I am hoping there is a better way. Any input is appreciated.

Store ASP.Net access rules on SQL Server

大兔子大兔子 提交于 2019-12-06 08:41:41
So I know it's possible to store Users and Roles on SQL server but I was wondering if it was also possible to store the access rules on SQL Server . I've searched but I can't find anything. Our auditor requires us to run reports that tell us which users have access to which websites. Currently I am parsing each web.config file to see which users/roles have access, storing that in SQL server and running a report off of that but I am hoping there is a better way. Any input is appreciated. Thanks in advance. If you don't find any ready-to-use solution you can add an Application_BeginRequest that