access-control Questions
5
I have a rest api made in Spring and am using Swagger for documentation. Recently a token based authentication was implemented. In the token, there are (internal) user's roles (authorities). Each c...
Everyman asked 20/4, 2017 at 15:51
4
I try to POST from my angular login service:
$http.post('https://xyz/login',
{
headers: {
'Content-type': 'application/json',
'Accept': 'application/json',
'signature': 'asd'
}
And I get t...
Cryptozoite asked 23/12, 2015 at 15:51
1
I am building an iOS framework and i need the same framework to be used in public apps and in some internal apps , the difference is that in the internal apps I need access to some classes and func...
Namtar asked 10/11, 2016 at 7:33
3
I have been going through the recent swift docs and working out on few examples in understanding private and fileprivate keywords in swift4. I am trying to access a fileprivate and private variable...
Wintery asked 31/10, 2017 at 11:9
6
Solved
I want to check if a server is reachable with a JavaScript function.
By reachable, I mean, if the server answers, I don't care which HTTP status code, it's reachable.
Stackoverflow/Google helped ...
Acidic asked 13/3, 2017 at 7:44
3
Solved
A MongoDB "userAdminAnyDatabase" user cannot admin users in "any database". Why?
This is a userAdmin vs. userAdminAnyDatabase question.
In the system.users I have the following users (password 1234 for both):
> db.system.users.find()
{ "_id" : ObjectId("52a976cb7851682aa44...
Mukund asked 12/12, 2013 at 9:19
3
Solved
I'm trying to declare an instance property in Swift so that it is only visible to its class and subclasses. I believe this would be referred to as a protected property in other languages. Is there ...
Carew asked 14/1, 2015 at 16:39
6
Solved
I've been reading about Access-Control-Allow-Origin because it seems effective at allowing cross domain requests since I have access to the external site. My question ism how do I use Access-Contro...
Morbihan asked 10/8, 2011 at 18:22
1
I'm reading the What is Azure role-based access control (Azure RBAC)? article in the official docs, but it is hard to discern how scopes and roles are different.
Read the following threads, but did...
Harter asked 26/3, 2023 at 21:5
8
Solved
I have server-client application, it's a file manager
my problem is when I go inside a folder which requires access control like system folders, it becomes to read-only, but I need to move/delete...
Maltz asked 25/2, 2012 at 13:8
2
I am trying to load an asset (a font) from an s3 bucket. Fonts on Firefox and IE need to have Access-Control-Allow-Origin headers returned in the response. Unfortunately it seems that Chrome is not...
Ariel asked 28/5, 2013 at 17:9
1
Solved
(on a Symfony 5.4 PHP 7.4 project)
So far I am using IsGranted to restrict access in controllers per role.
i.e.
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted
class PostController e...
Finzer asked 6/1, 2023 at 11:31
7
Solved
just noticed on several websites that the font awesome icons aren's showing in Google Chrome. The console shows the following error:
Font from origin 'http://cdn.keywest.life' has been blocked ...
Ludmilla asked 30/9, 2014 at 15:51
3
Solved
Swift 3.0
I know that fileprivate access level modifier limited using of function/property to source file where it was declared and private - limited to lexical scope where was declared. But it se...
Hisakohisbe asked 7/4, 2017 at 21:17
4
Solved
I have a static website composed of HTML/CSS/JavaScript files. The website is automatically generated and updated frequently.
Instead of authorizing access to the website with a username/password (...
Alemanni asked 12/6, 2018 at 4:34
7
I would like to create a product that will be available in Shopify's storefront but only accessible for the shop administrator. Is there a way to identify if the current user is an admin via liquid...
Vial asked 4/7, 2013 at 12:56
2
Solved
I am quite a beginner with JavaScript and I am trying to write a script that checks whether a website, let's say https://example.comreturns 404 status code or 200, and depending on the result, I'll...
Dilapidated asked 23/6, 2021 at 18:7
8
Solved
GitHub allows you to configure your repository so that users can't force push to master, but is there a way to prevent pushing to master entirely? I'm hoping to make it so that the only way of addi...
Parnell asked 10/9, 2017 at 23:34
1
# set hierarchy for roles?
role_hierarchy:
# give admin also the roles inside the array.
ROLE_ADMIN: [ROLE_USER]
# Easy way to control access for large sections of your site
# Note: Only the *f...
Metallophone asked 3/3, 2022 at 12:46
2
Solved
I read about DDD and Access Control, and I found some contradiction between the following two opinions:
"security concerns should be handled outside the domain"
"access control requ...
Utricle asked 5/5, 2014 at 4:16
4
Solved
From Symfony 2.3 Security docs:
If access is denied, the system will try to authenticate the user if not already (e.g. redirect the user to the login page). If the user is already logged in, the...
Shamus asked 2/7, 2013 at 15:0
5
Solved
As the title says, I'm wondering if it is possible for a program written in Java (and only java) to relaunch himself (preferably a .jar) with administrator privileges, showing in the way the native...
Appointed asked 8/11, 2012 at 13:41
12
Solved
What are the main benefits of using CBAC vs. RBAC? When is it better to use CBAC and when is it better to use RBAC?
I'm trying to understand the general concepts of the CBAC model but the general...
Coucal asked 2/4, 2014 at 14:5
6
Solved
I have an extension on UIView implementing a protocol
protocol SomeProtocol {
var property : Int
}
extension UIView : SomeProtocol {
var property : Int {
get {
return 0
}
set {
// do nothi...
Tamaru asked 27/4, 2015 at 10:24
4
Solved
I am trying to post form data from www.siteone.com to www.sitetwo.com via CORS. My ajax code is this:
<script>
$(document).ready(function(){
$("#submit").live('click',function() {
var url ...
Conway asked 22/8, 2013 at 14:4
1 Next >
© 2022 - 2025 — McMap. All rights reserved.