entitlements

Authorization and Entitlement solution on .Net like earlier in AzMan

元气小坏坏 提交于 2019-12-21 02:58:13
问题 What is the best way to achieve application authorization and entitlement in .Net. Earlier AzMan use to be the standard way. With the advent of provider model, at least roles are taken care of but I am not sure about the authorization & entitlement. I am looking at the ability to define and access operation level permissions for roles / users. What is the most suitable way to achieve the above? 回答1: According to this blog post the ClaimsAuthorizationManager API is 'next generation of AzMan'.

Error while implementing Sandbox: “deny file-read-metadata /Library”

南楼画角 提交于 2019-12-20 19:54:00
问题 I realize that I'm a bit late to the game here in getting sandbox-ready, but so it goes. I'm developing for OS X 10.9. The app displays Calendar event data, but does not allow editing, so I have enabled the Calendars capability. The app works great with sandboxing enabled when I run it from Xcode, but when I export it signed with Developer ID, the app runs, but can't access the Calendar data. What's more, the system never asks me to allow the app to access Calendar data. When I run the app,

Error while implementing Sandbox: “deny file-read-metadata /Library”

China☆狼群 提交于 2019-12-20 19:52:14
问题 I realize that I'm a bit late to the game here in getting sandbox-ready, but so it goes. I'm developing for OS X 10.9. The app displays Calendar event data, but does not allow editing, so I have enabled the Calendars capability. The app works great with sandboxing enabled when I run it from Xcode, but when I export it signed with Developer ID, the app runs, but can't access the Calendar data. What's more, the system never asks me to allow the app to access Calendar data. When I run the app,

Does anybody know a way to add entitlement to iOS application for non jailbroken device?

爱⌒轻易说出口 提交于 2019-12-17 22:46:32
问题 Some background iOS operation system has a "entitlement" notion . Generally speaking, it's a permission which is granted to an application. Other system services and apps can check for this permission to allow/deny execution of some functionality. These entitlements should be specified in a provisioning profile. System applications have a lot of different entitlements. User application are limited to just couple of entitlements (like access to iCloud or something like that which can be

Exposing an app's ubiquitous container to iCloud Drive in iOS 8

余生颓废 提交于 2019-12-17 15:34:28
问题 I'm developing an iCloud-enabled app where users will be able to import and export files via iCloud Drive. When browsing iCloud Drive, either using the UIDocumentPickerViewController (iOS 8) or the Finder (OS X Yosemite), I can see directories created/owned by other iCloud-Drive-enabled apps, such as, Automator, Keynote, or TextEdit. I want our app to expose its ubiquitous documents directory in iCloud Drive, too, but haven't been able to figure it out yet. Within some of the aforementioned

macOS Entitlements audio-input vs. microphone

跟風遠走 提交于 2019-12-14 03:50:00
问题 For the macOS sandbox there are two entitlement keys: com.apple.security.device.audio-input com.apple.security.device.microphone I tested both and both allow microphone input. What is the difference between them? 回答1: com.apple.security.device.microphone is a sandbox entitlement. If you want to use the microphone in a sandboxed app, you will need to enable it, com.apple.security.device.audio-input is a hardened runtime entitlement. If you want to use the microphone in an app built with the

Using Sockets with NSXPCConnection

99封情书 提交于 2019-12-13 04:46:43
问题 Running into an issue when using sockets with an NSXPCConnection. Basically, there is a main process and a helper process running, established via NSXPCConnection. That helper process needs to act as a server and listen to a particular port (say 111), which receives outside connections. The helper process opens a listening socket using the TCPServer helper class (wrapper around CFSocket ) which is provided by Apple. Code found here: https://code.google.com/p/iphone-remotepad/source/browse

What will be the time trigger value based on the Business hour in salesforce?

眉间皱痕 提交于 2019-12-11 17:12:55
问题 Salesforce: I have the Business hours set from Mon-Fri (10 AM to 7 PM) , weekend no business hours. The SLA for one of the my process in 10 business days, What values do I need to put in the Time trigger minutes ? 回答1: ((19-10) * 60) * 10) ? ((EOB-SOB) * MPH) * NOBD) End of Business day, (19:00 or 7PM), Start of Business day, (10:00 AM), Minutes per hour, (Always 60), Number of business days (10 in your sample) If you want to exclude Holidays, these can be created in setup as well, and you

System() command not working when enabling app sandboxing

痞子三分冷 提交于 2019-12-11 14:53:08
问题 Apple now require all future apps to be sandboxed and so I followed the instructions to sandbox an app. The build succeeded but then my system(rm -rf ~/.Trash/*) command stopped working. Nothing happened. What I find confusing here is why this system command does not work with App Sandboxing/Entitlements on. Here is are my entitlement settings: Entitlements: Checked App Sandboxing: Checked And here is my current code: - (void)viewDidLoad { [self emptyTrash]; } - (void)emptyTrash { system(rm

Is Team Identifier still necessary for iCloud Container

匆匆过客 提交于 2019-12-11 08:01:27
问题 I have a quick question: I noticed that with Xcode 6 that the default iCloud containers are named something like iCloud.com.company.myApp . Even though my Team-Id is selected under the General > Identity project settings. In the past I would have container ids including my Team-Id like ABC12D3EF8.com.company.myApp . Will I need to change the iCloud container to include the Team-Id for any future mac app? or is the iCloud prefix enough in a post iCloud Drive era? Thanks 回答1: The iCloud prefix