sandbox

Is there an way to load external swf into a sandbox in flash?

筅森魡賤 提交于 2020-01-15 11:26:08
问题 I'm loading flash ad-banners inside my all flash site with Loader. I have no control over the code inside the banners as they come from advertisers. I'd like to load them so that there is no way they can mess up the mouse events on the site outside their limited area. Sloppy code on advertisers banner should not kill my site's functionality in any situation. Bonus question, how can I solve the problems caused by the banners being a different frame rate than my main site? (Or is there an easy

Recompiling old cocoa app without sandbox

这一生的挚爱 提交于 2020-01-15 09:42:12
问题 I have a couple of Cocoa apps that are distributed privately and do not use the app store. They haven't been touched for at least a year. I need to make some changes. They don't work properly with Apple's sandbox. I've tried to turn off sandboxing in Xcode (9.4.1), but the absence of an entitlements file seems to be interpreted as sandboxed. I've noticed that command line applications don't have this problem (yet). How can I get the old behavior back? In the past I signed the apps to minimize

Recompiling old cocoa app without sandbox

倖福魔咒の 提交于 2020-01-15 09:42:01
问题 I have a couple of Cocoa apps that are distributed privately and do not use the app store. They haven't been touched for at least a year. I need to make some changes. They don't work properly with Apple's sandbox. I've tried to turn off sandboxing in Xcode (9.4.1), but the absence of an entitlements file seems to be interpreted as sandboxed. I've noticed that command line applications don't have this problem (yet). How can I get the old behavior back? In the past I signed the apps to minimize

HTML5 Iframe: Block remote requests

为君一笑 提交于 2020-01-14 15:54:49
问题 I am loading HTML content into an iframe using the srcdoc property. The iframe is a sandboxed iframe with no permissions given, so all Javascript in the iframe is blocked. However, remote requests (such as for CSS, images etc.) will still be triggered inside the iframe. Is there any possible way to tell the iframe to only load what I give it in the srcdoc property and not make any additional requests? Thanks in advance 回答1: The basics Presumably no because sandboxing the iframe is meant to

HTML5 Iframe: Block remote requests

☆樱花仙子☆ 提交于 2020-01-14 15:54:29
问题 I am loading HTML content into an iframe using the srcdoc property. The iframe is a sandboxed iframe with no permissions given, so all Javascript in the iframe is blocked. However, remote requests (such as for CSS, images etc.) will still be triggered inside the iframe. Is there any possible way to tell the iframe to only load what I give it in the srcdoc property and not make any additional requests? Thanks in advance 回答1: The basics Presumably no because sandboxing the iframe is meant to

Chrome app: accessing sandboxed iframe from parent window

冷暖自知 提交于 2020-01-14 13:45:35
问题 I'm using knockoutjs in my google chrome app. To be able to use knockout, I have to define the real application.html as sandox page and include it as an iframe in a dummy container. Application structure is as follows: - container.html | +-- application.html as iframe | +-knockout and application.js Iframe is defined as follows: <iframe src="application.html" frameborder="0" sandbox="allow-same-origin allow-scripts" ></iframe> Running document.getElementsByTagName("iframe")[0] in inspect tool

Looking for a locked down script interpreter [closed]

孤街浪徒 提交于 2020-01-13 13:45:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm looking for a .NET library that does a specific task. Say my app has been sent a program (in some script language) and I want my app to run that script. That script could come from an openly hostile individual, but I want to run it anyway. (Like JavaScript in a browser.) var sc = new SecureScript(

Setting PayPal return URL to localhost

懵懂的女人 提交于 2020-01-13 08:33:49
问题 I'm trying to integrate Paypal and I'm using sandbox in the process. I follow the step of the accepted answer in the below question. Setting PayPal return URL and making it auto return? But when I try to enter the URL, Paypal return the below error. We were unable to validate the URL you have entered. Please check your entry and try again. URL I'm trying to set is http://localhost:8888/paypal/success.php . Also I tried sending the return url with the form as below. <input type="hidden" name=

Howto “sandbox” my Lion application?

一笑奈何 提交于 2020-01-13 08:32:10
问题 Apple has decreed that all applications submitted to the Mac App Store must be sandboxed, starting in November. Ok, but how can I "sandbox" my app? I found the official Apple's guide Code Signing And Application Sandboxing Guide. This document lists the following steps: 1) "Enable sandboxing for your application." Ok, easy: I have to open Xcode 4, select the project, select the target, go to the Summary tab and check: "Enable Entitlements" "Enable App Sandboxing" ...and every single

Howto “sandbox” my Lion application?

喜夏-厌秋 提交于 2020-01-13 08:32:04
问题 Apple has decreed that all applications submitted to the Mac App Store must be sandboxed, starting in November. Ok, but how can I "sandbox" my app? I found the official Apple's guide Code Signing And Application Sandboxing Guide. This document lists the following steps: 1) "Enable sandboxing for your application." Ok, easy: I have to open Xcode 4, select the project, select the target, go to the Summary tab and check: "Enable Entitlements" "Enable App Sandboxing" ...and every single