Questions tagged [access-control]

Access control is the process of limiting the access of ability of users or services to certain resources.

Access control is the process of limiting the access of ability of users or services to certain resources.

Historically, there have been several access control models:

  • discretionary access control (DAC): In computer security, discretionary access control (DAC) is a type of access control defined by the Trusted Computer System Evaluation Criteria "as a means of restricting access to objects based on the identity of subjects and/or groups to which they belong. (source: Wikipedia)
  • mandatory access control (MAC): The mandatory part of the definition indicates that enforcement of controls is performed by administrators and the operating system. This is in contrast to the default security mechanism of Discretionary Access Control (DAC) where enforcement is left to the discretion of users.(source: wikipedia)
  • Role-based access control (RBAC): Role-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within an enterprise. RBAC was formally defined by NIST, the National Institute of Standards and Technology. More can be found on their website.
  • Attribute-based access control (ABAC): ABAC extends the way RBAC works. Instead of just focusing on user identities, roles, and groups, ABAC defines attributes (key-value pairs) that can be used to describe users, resources, actions, and context. With ABAC, it is possible to define finer-grained access policies. A common language used to define ABAC is XACML. NIST is currently formalizing ABAC. See their website for more information.
1370 questions
-1
votes
1 answer

No 'Access-Control-Allow-Origin' header is present on the requested resource. Where exactly does the header go?

I am trying to send a username and password to a rest service, but I keep getting this error. I read that I need a header("Access-Control-Allow-Origin: *"); to get past this, but I don't understand where it goes. Does it go in the client side…
John
  • 1
-1
votes
1 answer

YII2 Access Control With Modules

My access control code is not working on the modules default controller, but on all other pages it is working fine. Any idea what i am doing wrong? EDIT: What is happening is : ../web/mymodule does not redirect but ../web/mymodule/mycontroller does.…
rob180
  • 901
  • 1
  • 9
  • 29
-1
votes
1 answer

Protect admin with roles

I want only users have ADMIN or ENSEIGNANT roles can access to the admin part but still I get Access Denied even when I authenticate as ENSEIGNANT role_hierarchy: ROLE_ADMIN: [ROLE_ENSEIGNANT] ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN,…
hous
  • 2,577
  • 2
  • 27
  • 66
-1
votes
1 answer

Symfony 2 Security: Get page roles

I have my access_control defined in security.ylm. Is it possible to get the current page roles in my code (without parsing the ylm file 'by hand') ? Thanks
Ricardo
  • 11,609
  • 8
  • 27
  • 39
-1
votes
1 answer

Why can I not instantiate LocationManager class?

I am trying to do some work with LocationManager class and saw that I cannot instantiate it. It is not an abstract class and I was under the impression that only classes marked as abstract could not be instantiated.
Space Ghost
  • 765
  • 2
  • 13
  • 26
-1
votes
2 answers

How to avoid a login bypass in my webpage by entering URL

I am trying to set up a secure web page at home. I created a login page with HTML and PHP, and it actually works when a user tries http://example.com. However I noticed that if a user enters in the URL http://example.com/documents.html (where…
-1
votes
2 answers

how to Make a NFC tag unreadable with other readers?

I have read in many areas how to make the NFC information unreadable with another applications, but incase if we are using NFC stickers, how to make these stickers to be unreadable with other readers, so that no one can clone my NFC sticker?, My…
-1
votes
1 answer

SharePoint Custom Security

I have a question regarding security in SharePoint. I have following scenario Custom Lists (Department, ScoreCard, ScoreCard Data Entry) User Groups/Roles (Executive, Data Entry Operator, Approver) Custom Pages/Web Parts (ScoreCard Data Entry,…
-1
votes
1 answer

OpenVPN access control

Using OpenVPN, I can enable 2-way authentication with certificates, private keys and a CA-certificate. In my understanding, this only provides authentication (the client is, who he says he is) but not authorization (access control). OpenVPN just…
Philipp
  • 4,659
  • 9
  • 48
  • 69
-1
votes
1 answer

C++: granting member function friendship forward declaration?

I have a problem with friendship in c++. I have two classes, A and B, where the definition of B uses some instance of A. I also want to give a member function within B access to private data members in A, and so grant it friendship. But now, the…
-1
votes
4 answers

How to make file unable to delete in java?or give it access permission also admin cant delete it ?(windows 7)

I securty app need to make file undeleteable by any way or any other Solution do same thing plz dont tell me make it read only (its securty) is there thing in nio pakege help me!!
-1
votes
1 answer

C++ - unable to set method friendship

I try to set friendship to method from class GameSimulator on Player class. for some reason I get error. GameSimulator.h: #ifndef GAMESIMULATOR_H_ #define GAMESIMULATOR_H_ #define NULL 0 #include "Player.h" class GameSimulator { public: void…
nimrod
  • 132
  • 1
  • 1
  • 8
-2
votes
1 answer

No 'Access-Control-Allow-Origin' header Vue/Spring boot

I can't seem to figure out this error "No 'Access-Control-Allow-Origin' header". I have a Vue frontend running on localhost:8080 and spring backend generating JWT tokens on locahost:8082 While trying to post credentials to my /signin I keep…
Tevor
  • 316
  • 2
  • 4
  • 15
-2
votes
1 answer

How to allow Azure users to create RG withou seeing other RG?

Any idea how to grant permission to Azure users to be able to create their own resources group without allowing them to see any other existing resource groups in our directory?
macchiavalley
  • 517
  • 1
  • 5
  • 12
-2
votes
2 answers

How can I make a user's content private?

Problem I have one role "creator" and under this role I have two users creator1 and creator 2, both have permissions to create content. So Creator 1 creates the page but this created page is visible under Administer->content for both the users and i…
ruhi
  • 1
  • 3
1 2 3
91
92