Amazon CloudFront Signed URL "Access Denied" [closed] - iphone

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
I have an iOS app where I upload objects to an Amazon S3 bucket and want to retrieve from CloudFront distribution.
I am using CloudFront with private distributions for my Amazon S3 bucket and when I generate a signed URL it does not work, in Safari it returns AccessDenied AccessDenied and some random alphanumeric string, My Signed URL I just generated (Expiration date in 24 hours) -- should be expired by now
I read the following site to get all my security credentials in place and I have also setup a private distribution with my S3 Bucket by reading the documentation and I have setup the trusted signers which is basically just my account
I have used code from this site to generate the signed URL
But again I have had absolutely no luck, when I put the link in Safari it returns AccessDeniedAccessDenied and some random alphanumeric string. Why? Any problem? Any step I am not following?
Thanks for any help! I appreciate it, this is important for me as I need to create an app where CloudFront would be very important for speed and international distribution...
Thanks everyone for upvoting, I figured out my problem. I didn't follow the step of create an access origin identity. Now it works like a charm. Woohoo!

Related

Redirect traffic from a test site to the normal one [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 4 years ago.
Improve this question
2 weeks ago I assume a new project for Search Engine Optimisation.
Lately, I realize that the developer was in charge before has created a test site which is live. The result of this situation is the test site has much better SEO and more traffic than the normal one.
So my question is what should I make:
Should I redirect every page of the test site to the normal? and how!
Should he just delete the test site?
What I am thinking and please suggest me if this right or wrong, is:
Google now crawl the test site which looks like the original because created first and then crawl the normal site which looks like is duplicate site and they give it penalties.
So if I delete the test site Google crawler will crawl normal site as the original, right?
Of course, if there is a way to redirect all the traffic to normal one and increase the SEO Score would be awesome.
Hope my question is clear enough. I 'll appreciate any suggestion!
The resources I have found but doesn't solve my problem are:
http://www.webconfs.com/154/301-redirects-how-to-redirect-your-website/
Redirect all traffic to root of another domain
You have 2 options.
1) Block test site for Crawling ASAP.
1.1 Here is the simple code you need to add on robots.txt
User-agent: *
Disallow: /
1.2 Now, you need to redirect all test site URL to normal site.
(In this option, your Test site traffic convert to Normal site)
2) Take backup and delete your test site
Currently, Google have your Test site, so you need to fetch normal site in Google. after few time Google algorithm crawls normal site, they can start give priority to Normal site.

Google Contacts API Failure - Server Down? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
All of a sudden I've found my Google contacts-integrated web app failing to make straightforward calls to the server.
I haven't changed a stitch of oAuth code in months but all of a sudden I can't connect or make calls on existing tokens.
The return is mostly garbage but in the header I'm getting a 401 - Unauthorized and in the body you have:
Error
401
(Client Error)!!1
That's an error.
There was an error in your request.
That's all we know.
I've since tried to run a few calls in the oAuth 2.0 Playground and experienced similar behaviour. Any one else seeing this?
I've JUST seen this thread from a month ago: Google Contacts Data Api 401 error
The docs have been restored however.
GOOGLE DEVS: Any insight on this matter is MUCH APPRECIATED ASAP.

Facebook Apps not working [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
My facebook applications started to fail for apparently no reason. I keep getting this error when trying to load the application: Error 324 net::ERR_EMPTY_RESPONSE.
I have valid ssl certificate, the application code is pretty basic and right (i've even tested an empty application and still doesnt work). Everything seems to be ok, but the truth is that it fails to work now.
One important thing is that when i access the application outside the facebook it works and maybe something is cached making it work next time i try to access it by facebook. If i clear the cache it fails to work again.
Checking the server logs i see no attempt of connection by facebook. Don't know if it's something related to apache server.
Any help would be appreciated.
Solved.
It was a problem with apache. We just recompiled it (cpanel easy apache) and it works now.

Is this site vulnerable to an SQL injection attack? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I am visiting a site and I mistakenly entered a single quote while I was trying to hit the enter key.
The URL that got sent is: http://www.domain.tld/link.php?id=2603' (censored :) )
Resulting in the following response from the site:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
I've tried to do: http://www.domain.tld/link.php?id=2603; SHOW TABLES; But that didn't work :P
So my question is: can this site vulnerable to sql injection?
Most likely yes. Without getting into the details of how to perform an actual injection attack, you could try something like:
http://www.domain.tld/link.php?id=2603';malicious code --
Incidentally, I HIGHLY recommend that you not dink around with this too diligently. Accessing other computers in an unauthorized manner is against the law in the US and many other countries, and if you do something damaging, they can come after you. The best bet is to contact the site's owner and let them know exactly what you're seeing so that they can address the issue.

How can you tell what external libraries are required from a release build .app file? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I keep getting rejected from apple because of a "library not loaded" error every time I submit my app. (more detail can be found in my previous question here)
I couldn't find any usage of this library in question except in a test project that was in no way linked to my production project. So it makes me think the library isn't actually required, yet when I do a build it's somehow making it's way into the .app file
Is it possible for me to tell from the output what external libraries are required to run it?
I would trash my Distribution build setup from targets and create a new one cloning it from a trusted Ad Hoc build setup.
If the Ad Hoc works and has been tested, it should not cause any problem as a Distribution setup (just remember to remove the entitlements and change the provisioning profiles).