On Friday, June 8, 2018 at 12:22:38 PM UTC-7, e27...@gmail.com wrote:
>
> Hello,
>
> I have a web2py portal that has several applications, some of them are 
> just a redirection to external urls.
>
> I would like to mask these urls (hide the true external url to the users) 
> as if they are pure web2py applications, and also make impossible for the 
> users so paste directly these links without logging in. 
>
> Do you have an idea how I could do it ?
>
> Thank you very much.
>
> Best Regards.
>
> Thierry
>

You can use the fetch()  function to go external, and then turn around and 
send the response  as your response.  This may be a bit complicated if the 
external resource uses XSS, and getting all the javascript and cxx files 
lined up may be a pain.

Another option might be to use an iframe, but while I've examined iframes I 
haven't spent a lot of time at it.

/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to