Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a web site with public IP restriction.
But we are using one of the restricted website controller in another website with in IFRAME.

we are not able to access that controller in that website.

We are getting access denied.

Please let me know how to access a single controller even that website has a IP restriction.


What I have tried:

Please let me know how to access a single controller even that website has a IP restriction.
Posted
Updated 28-Feb-19 19:53pm
v2
Comments
MadMyche 1-Mar-19 6:53am    
Please show the code you are using to attempt the access to that iFrame, and the exact response you are getting.
F-ES Sitecore 1-Mar-19 8:04am    
There's nothing special about an iframe, the request is still coming from the client machine as if they were browsing the site directly so if that site isn't publicly accessible then you won't be able to use it in an iframe either. You'll probably need to have the public website act as a proxy of sorts communicating with the restricted site and passing the results to the client.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900