policy

AWS IoT SDK - main L#206 Error subscribing : -28 (C code)

谁说胖子不能爱 提交于 2019-12-11 15:50:14
问题 I am trying to run the example in this tutorial from AWS IoT (AWS IoT Embedded C SDK). My aws_iot_config.h file has the following configuration: #define AWS_IOT_MQTT_HOST "XXXXXXX.iot.us-east-2.amazonaws.com" ///< Customer specific MQTT HOST. The same will be used for Thing Shadow #define AWS_IOT_MQTT_PORT 8883 ///< default port for MQTT/S #define AWS_IOT_MQTT_CLIENT_ID "c-sdk-client-id" ///< MQTT client ID should be unique for every device #define AWS_IOT_MY_THING_NAME "SM1" ///< Thing Name

AWS ECS Restart Policy

风流意气都作罢 提交于 2019-12-11 07:06:18
问题 I've inspected one of the docker containers I have running in my ECS cluster and it has a blank for the restart policy ("{{ .HostConfig.RestartPolicy.Name }}"). I'm unsure what ECS does in the case of a failure but I would like to change the policy to one that restarts the container instance if the cmd running in the instance fails. Is it possible to change the restart policy on docker containers in an ECS cluster? 回答1: Is it possible to change the restart policy on docker containers in an

Your implementation of PreferenceActivity is vulnerable to fragment injection

江枫思渺然 提交于 2019-12-11 04:58:52
问题 Here is my java class. public class MyPrefrences extends PreferenceActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences); } } in my project i used preferences.xml <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="@string/steps_settings_title"> <ListPreference android:key="sensitivity" android:title="@string/setting" android:summary="

Autoplay background video in Chrome Autoplay Policy

大城市里の小女人 提交于 2019-12-11 02:36:49
问题 So in the latest chrome apparently the Autoplay Policy has been changed so this in turn breaks every site that has a video background that should autoplay I am wondering if anyone has any smart work arounds that could "solve" the issue? (I believe a button or "enter page" solution would be a terrible way of a work around especially for a background video) Here is what you get now in the console if a user doesn't interact with the document: Uncaught (in promise) DOMException: play() failed

OpenSSO (OpenAM) : Turn off URL enforcement

一曲冷凌霜 提交于 2019-12-11 01:37:51
问题 We're using OpenAM to manage sessions on our application. The problem is everytime we're trying to pass a parameters with the GET method, the ressource is blocked (error 403 - forbidden). If no parameter is set, everything is wirking. EX: http://mysite.com/logo.jpg ----> Works. http://mysite.com/logo.jpg?foo=bar ----> ERROR ! For images or css, it's normal to do not have parameters, but all links with using the GET method aren't working. How could we solve our problem? Actually, disabling

Istio Origin Authentication Using JWT does not work

余生颓废 提交于 2019-12-11 00:39:23
问题 I’ve been applying Authentication Policy to my testing service using JWT. I have followed this guide and it did work as expected. But, when I tried to using a different pod image, it did not work even though almost everything is the same. Is there anyone facing this issue? or know the reason why it did not work in my case? Thank you very much! These are my configuration files: Deployment apiVersion: extensions/v1beta1 kind: Deployment metadata: name: hostname spec: replicas: 1 selector:

AWS Creating POST policy base64 encoded + signature

时光总嘲笑我的痴心妄想 提交于 2019-12-10 21:50:01
问题 I am trying to generate an AWS POST policy w/ signature in PHP, which will be sent to the client to allow uploading in the browser via javascript AJAX. I have copied the example at http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html I have 2 problems: I cannot generate a correctly encoded base64 string from the policy. $policy = '{ "expiration": "2013-08-06T12:00:00.000Z", "conditions": [{"bucket": "examplebucket"}, ["starts-with", "$key", "user/user1/"], {"acl": "public

what should developers have access to?

巧了我就是萌 提交于 2019-12-10 20:44:21
问题 i work at a place where we build applications that process and store sensitive data. we have 3 environments. Dev, UAT / QA (user acceptant testing) and Production the developers at my work have no access to UAT or Production and have limited access to Dev. All we can do in dev is connect to a dev DB server . we have no access to the dev server itself. so we arent allowed to play with things like the web server (iis) on dev. if we want changes we must go though a formal process of submitting

Flex crossdomain.xml not working correctly in Chrome/Firefox?

ぐ巨炮叔叔 提交于 2019-12-10 18:08:34
问题 I've spent quite a bit of time on this so here's where I'm stuck. I'm using the debug player 10.1 to get an XMLA request from: http://localhost/dir/blah.swf to: http://localhost/olapbin/msblah.dll This worked fine in the filesystem, but now its on an IIS7 web server. After a lot of fiddling with the crossdomain.xml file I settled on: <?xml version="1.0"?> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*" to-ports="*" /> <allow

windows phone ApplicationPolicy for in app payment

↘锁芯ラ 提交于 2019-12-08 03:46:38
问题 I was wonder if it's possible to use PayPal mobile checkout directly in my wp7 app, as in-app payment gateway. My concern it’s Microsoft marketplace application policy 2.1: “Your application must be fully functional when acquired from Windows Phone Marketplace (except for additional data as permitted below). Unless you have a pre-existing billing relationship with the user, your application may not require the user to provide payment information,within the application experience, to activate,