Questions tagged [access-rules]

Rules to control network access in both routed and transparent firewall modes.

36 questions
8
votes
1 answer

access rules on Eclipse for Forbidden and discouraged reference

After a long time of search I didn't find good response for my lack of understanding. I want to understand these options in Eclipse (indigo) for Java. These options: Forbidden reference (access rules) Discouraged reference (access rules) I…
miltone
  • 4,416
  • 11
  • 42
  • 76
3
votes
1 answer

Parallel.ForEach over AuthorizationRuleCollection

Hopefully someone could point out what I am doing wrong here. I have a process that reads in file access rules and I am trying to run it in Parallel. Here is the code I have so far: public List GetSecurityGroupsForFolder(long…
Lobsterpants
  • 1,188
  • 2
  • 13
  • 33
2
votes
1 answer

Can not add access rules with WellKnownSidType.WorldSid on windows 7

Here is the code: var sid = new SecurityIdentifier(WellKnownSidType.WorldSid, null); var directorySecurity = new DirectorySecurity(); directorySecurity.AddAccessRule(new FileSystemAccessRule(sid, FileSystemRights.FullControl,…
Jarlaxle
  • 871
  • 10
  • 18
2
votes
1 answer

Store ASP.Net access rules on SQL Server

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…
Gage
  • 7,365
  • 9
  • 47
  • 77
2
votes
0 answers

Bound mismatch and Discouraged access after moving from java6 to java8

I have a very strange error after transfering a PDE project to bndtools and from java6 to java8. The structure is very complex but I'm sure it worked in the old version. The error is in one of my classes where I try to initiate a new…
Philipp M
  • 502
  • 6
  • 20
2
votes
1 answer

how to check yii2 relation is exist show controller

I have user and agency models user have an agency model and can access whit $user->agency now i want check in accessRule when relation is exist show my controller if that relation is null show an alert 'user->agency is null pealse create agency'…
Amir Mohsen
  • 853
  • 2
  • 9
  • 23
2
votes
1 answer

How to create Access (view page) role in yii?

How to create access role in yii and where in yii application part ? I want to create access role in yii application but I have a problem and don't know about where to assign role in yii like I have three department role: 1.admin -: admin have a…
hari maliya
  • 660
  • 8
  • 21
1
vote
1 answer

How to update repository access rules for Collabnet Subversion Edge via the API?

We are running CollabNet SubversionEdge. I am scripting various tasks. One of the more obscure is updating our repository access rules to suit new branches I create. While there is a published REST API for SubversionEdge…
David White
  • 3,014
  • 1
  • 32
  • 35
1
vote
1 answer

C# NamedPipe over network throws UnauthorizedAccessException on client connect

I have a client and a NamedPipe server. The client and the server run on distinct Windows services. On the same machine the connection works perfectly. But when attempting to access the server from another machine, an exception of type…
Alvimar
  • 488
  • 3
  • 12
1
vote
1 answer

C# AddAccessRule for "This folder, subfolders and files"

I have some code to apply permissions to a folder that works but it sets the folder permissions as 'Special' with it being applied as "This Folder and Files" where I need it to be applied as "This folder, subfolders and files". What am I doing…
PigsIncorporated
  • 143
  • 4
  • 18
1
vote
2 answers

odoo record rules domain filter mrp.workcenter

Hello I'd like restrict all users to just access the Work Center with ID = 1 I added a record rule for mrp.workcenter and added the domain filter [('id','=',1)]. But still I can see all the work centers... Any ideas?
Jesse
  • 727
  • 13
  • 44
1
vote
0 answers

Java webapp API id-based security filter

We're building our API and looking for an organized way to grant users access based on what role and permission they have. From the starting point, we have 3 roles Admin: can get and edit everything in his organization Team Admin: can get and edit…
1
vote
2 answers

Access rules restriction in yii

In my account model, I have an attribute called account_type_id upon registration if the user chooses his account to be an Admin account then it is set to 1 if however the user will be just an ordinary user it is set to 2 how do I change the access…
shychotc
  • 25
  • 7
1
vote
0 answers

Assigning global access rule for a directory's sub-repositories with gitolite

I am organizing every user's repositories under directory named as the user's alias; For example if i have a user named dariush and he has 3 repos named repo1, repo2 and repo3.The directory structure of dariush's repos will be something like…
dariush
  • 3,191
  • 3
  • 24
  • 43
1
vote
1 answer

.htacess allow from local and deny all except one user agent

I have local page. All I want to access it from my phone and my computer. There is no chance to have static IP. RewriteEngine On RewriteCond %{HTTP_USER_AGENT} !MyUserAgent [NC] RewriteRule ^ - [F,L] Order Deny,Allow Deny from all Allow from…
Rıdvan Çetin
  • 183
  • 5
  • 16
1
2 3