Reputation: 51
I have a problem in my code. When I call a url from server application , it requires windows security and shows pop up login. How to hide it from my application using javascript?
Anyone knows?
Upvotes: 0
Views: 429
Reputation: 20407
The problem is simply that you're requesting a resource which requires authorisation. You have two options:
What you're asking is how to avoid the browser challenge requesting credentials - what else do you expect to happen? You can't just serve up a resource the requestor does not have access to.
Upvotes: 0
Reputation: 1245
You can't hide it with JavaScript. The URL you ask is protected by a security constraint defined in the server / webapp. You need to change that configuration.
Upvotes: 1