• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JQuery XML- Permission denied

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am developing a UI which uses JQuery and XML to display URL contents. When i give the http path for the Data.xml (from where url data constructed) it works, however if i give https path for the same xml it throws error "Permission denied".

Could you please let me know what the issue with HTTPS? Can you suggest any work around for the same?

Below is the snippet



Its urgent, Any help on this would be highly appreciated.

Thanks
Tarik
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm curious why you need to use an absolute path to fetch the XML?

I *think* your problem might be trying to access a secure resource from an insecure URL. So if you navigate your browser to HTTP and then request a resource via ajax over HTTPS. I'm not 100% sure on that, still googling.
 
Tarik Ansari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gregg,

Thanks for your update.

Those URLs are constructed from sharepoint links, so i will be getting it in XML format through HTTPS. That is the reason for using absolute URL.

Could you please help me in knowing the reason for HTTPS denial?

I have this as high priority task. Please help me

Thanks in advance
Tarik.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tarik Ansari wrote:I have this as high priority task. Please help me

Thanks in advance
Tarik.



https://coderanch.com/how-to/java/EaseUp
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Learn about the same origin policy

Eric
 
Tarik Ansari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Eric for the policy.

Thanks
Tarik
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic