Questions tagged [cross-domain]
55 questions
34
votes
2 answers
Allowing cross origin requests (CORS) on Nginx for 404 responses
I'm using Nginx to serve static files in response to CORS requests using the technique outlined in this question. However, when the file doesn't exist the 404 response does not contain the Access-Control-Allow-Origin: * header and so is block by the…
alnorth29
- 443
- 1
- 4
- 5
16
votes
2 answers
Microsoft SQL Server login using Active Directory Credentials
Our Microsoft SQL Servers are running on Windows Servers which are part of an Active Directory domain.
For easy user management, our SQL authorization is set up by using the Active Directory User Groups as explained in this post.
Now this works fine…
Gilles Lesire
- 233
- 1
- 3
- 13
11
votes
3 answers
Amazon S3 and Access-Control-Allow-Origin
Does Amazon S3 allow custom headers? Or am I out of luck?
Access-Control-Allow-Origin: *
Baggz
- 211
- 2
- 4
8
votes
2 answers
Can we use a certificate bought for one domain on another domain?
We bought a certificate two years ago for service1.domain1.com and it is valid up to 2018. The problem is that domain was managed by third party and they are going to drop that sub domain.
My question is can we use the certificate bought for…
Jonas T
- 225
- 3
- 9
6
votes
3 answers
Nginx services fails for cross-domain requests if the service returns error
I am making a cross domain request in my web app.
I have set the CORS headers on Nginx. Everything is working fine except when the service returns an error like 404, 400, 500 etc, instead of receiving the error code, the service is failing with an…
Niyaz
- 173
- 1
- 1
- 6
5
votes
1 answer
NGINX - CORS error affecting only Firefox
this is an issue with Nginx that affects only firefox. I have this config:
http://pastebin.com/q6Yeqxv9
upstream connect {
server 127.0.0.1:8080;
}
server {
server_name admin.example.com www.admin.example.com;
listen 80;
…
wiherek
- 181
- 1
- 1
- 6
4
votes
2 answers
Using resources in foreign Kerberos Realm from windows without cross-domain trust?
I'm not a Windows person at all, but I understand the basic idea that an Active Directory is LDAP + Kerberos 5 + microsoft special sauce. So, in a situation where I have a windows machine over which I have no control which is in an existing Active…
dlakelan
- 86
- 8
4
votes
1 answer
Apache2 Cross-Origin Request Blocked while headers are set
My website uses CDN and while everything is fine on Chrome in Firefox I'm getting the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at…
Shahar Galukman
- 207
- 1
- 4
- 11
4
votes
3 answers
How to set up server for Cross-Origin Resource Sharing (CORS)?
I have a web-page on my domain (ecmazing.com), and I'd like to be able to send AJAX requests to this URL:
http://hacheck.tel.fer.hr/xml.pl
It's a Perl script that is located on a different domain (and it returns an XML response).
The "Same origin…
Šime Vidas
- 193
- 2
- 10
4
votes
3 answers
Can I disable X-Frame-Options on Firefox?
I'm testing an internal web application that pulls content from servers that I'd rather leave 100% alone, and some of them send the "X-Frame-Options" header. While that's the right setting in production, while we're testing, I'd like to strip it…
Dave
- 220
- 1
- 2
- 6
4
votes
2 answers
CouchDB cross domain access from web?
Currently, web application need to offer some kind of cross-domain HTTP header to access data on other domain: http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharing
Is there any way to configure CouchDB to support…
Eonil
- 9,689
- 15
- 34
- 53
3
votes
1 answer
Apache - How to redirect user to a given URL
In my website I have Cross Domains Requests with sometimes, HTTP 302 reponses.
I want to do two things:
for HTTP OPTIONS requests: HTTP code 200, no follow redirect
for HTTP POST, GET requests: Follow a new URL and execute all 302 if needed.
As…
CyrilleGuimezanes
- 131
- 6
3
votes
0 answers
Nginx allow cross origin requests in specific folder
How do I allow cross origin requests in only a specific folder or folders in Nginx?
In apache, I have an .htaccess file in the folder with the following content:
Header set…
Asa Carter
- 239
- 1
- 3
- 14
2
votes
1 answer
Configuring IIS for cross-forest kerberos authentication
In my environment I have two separate forests FA.COM and FB.COM and two child domains DA.FA.COM and DB.FB.com. There is no forest trust but two-way external trust between DA.FA.COM and DB.FB.com.
I have an IIS server (IIS8.5 on Windows 2012r2) in…
triggerfast
- 21
- 4
2
votes
1 answer
Active Directory Cross-domain Authentication
When a workstation or server attempts to authenticate a user on another domain, does the workstation or server contact the other domain's DC directly to authenticate after contacting the local domain DC? Or does the local domain DC do the…
James Hawkwind
- 92
- 2
- 8