Questions tagged [capability]

Capability is the ability to perform actions. In computer science the term is often used in capability-based security, a granular way to restrict processes' rights.

A good reference is the wikipedia page for capability based security.

An example of such mechanism are Linux capabilities, these have a separate tag:

142 questions
2
votes
1 answer

sql server compact edition features

Does anyone know where I can find a list of supported features for SQL Server Compact Edition? I am interested in using the new version with my web app but am trying to determine if it can do what I need? specifically I want to know if it can…
MikeJ
  • 14,430
  • 21
  • 71
  • 87
2
votes
4 answers

Can Java Generics replace multiple similar classes?

Problem I'm trying to use Java generics to replace classes with similar methods. All of the examples that I've found cover simple examples, but I'm not sure if Java Generics are intended to be used this way. I have 2 parent classes, and 2 child…
Taylor Lopez
  • 813
  • 1
  • 8
  • 28
2
votes
0 answers

Prevent user for viewing custom post type based on capability

I have a custom post type on WordPress, from an external plugin, and i want to conditionally deny showing content from this post type, based on user capability. Pseudocode is better to explain than 1000 words: if…
2
votes
1 answer

How to check if device has a given capability?

I am building a webapp, and experimenting with figuring out which capabilities the android device has. Is there a "capability" or "feature" registry I can look this up in? Take an example: Let's say I need to know whether a device has phone…
Kris Selbekk
  • 7,438
  • 7
  • 46
  • 73
2
votes
2 answers

standalone asp.net page

i want to test my web hosts asp.net capabilities - equivalent to a 'phpinfo' page - is there a standalone aspx page I can upload to test that asp.net is correctly running and what version etc it is running. Thanks, Josh
Josh
  • 6,256
  • 2
  • 37
  • 56
1
vote
3 answers

Internet Explorer 9 Object Detection

I am searching for an object detection capability check which will identify IE9. Can you help me?
1
vote
1 answer

Prevent an iPhone app from being installed on a device that does not have required hardware or capability

I suddenly came up with a scenario and would be keen to know if we can do it. Suppose I am using gyroscope APIs and we all know gyroscopes are available in iPhone 4 and above but not below that I am aware of two things Conditional compilation of…
Ankit Sachan
  • 7,690
  • 16
  • 63
  • 98
1
vote
0 answers

Understand which capability exacty lacks to complete the operation in Linux

Suppose I have a Linux executable, which fails to perform some operation with EPERM (Permission Denied) error code. I also, can track the specific API it calls with strace. Suppose also, it caused because kernel check fails on specific user or…
Boris
  • 1,311
  • 13
  • 39
1
vote
1 answer

How to use App detection in android wear app of React-native-android

I was went to develop an Android app with React-native and then link my mobile phone app with a wear app. So I'm going to find out if there is an interlocking app on my cell phone in the wear app. I referred to the app detection function document…
hong developer
  • 13,291
  • 4
  • 38
  • 68
1
vote
1 answer

Cannot add Push Notifications Capability in Xcode

Whenever I try to add the Push Notifications Capability it either does not get added afterwards or Xcode (v. 12.5) even crashes. Had anyone else a similar problem and could solve it somehow?
Mitemmetim
  • 520
  • 3
  • 12
1
vote
1 answer

Where can I enabled the switch in the In App Purchase Capability in Xcode 12?

I noticed Xcode 12 has changed a lot new redesign interface so capability has no longer shows up the switch to enable or disable in Xcode 12. So can someone find the enable inside the IAP Capability to show up the checkmark to make sure enabled or…
Antonio Adrian Chavez
  • 1,016
  • 1
  • 7
  • 12
1
vote
0 answers

What permission check happened in kernel when accessing files in /proc/sys?

I am interested in /proc/sys and trying to understand the access control mechanism of files in this directory. I am not sure if accessing /proc/sys is the same as accessing on-disk file systems, like ext4. So I just started with the open system…
JJ Meng
  • 11
  • 2
1
vote
2 answers

how to setcap for a binary file in docker image

I want to set capabilities for some binary files in my docker image so that i can execute them in a container with a non-root user, i have tried to setcap in my dockerfile:dockerfile, then i built this image with docker build: docker build, but when…
Angelina
  • 11
  • 1
  • 2
1
vote
1 answer

Is it possible to add permissions on object at field level

Within the implementation of MDM based on the PIMCORE solution, we wish to segregate data according to user rights. The goal is to restrict access to the attributes of an object according to predefined roles. The different possibilities were to go…
agaOver
  • 35
  • 5
1
vote
1 answer

in-App-purchase not available in Capabilities in Xcode 11

i created an provisioning file for my app. I checked In-App-Purchase on. If I click in Xcode on 'Signing & Capabilities' it list included capabilities, and in-App-Purchase too. Bundle-ID is the same. If i want to add the capability…
Enrico
  • 148
  • 11
1 2
3
9 10