Hi,
In the case you can't use ISV folder and the 2007 endpoints (because it's CRM Online, or a newer version of Dynamics CRM) you can host your web application on Azure or deploy to a web-server with public ip/address. (using 2011 endpoints)
CRM Online with Office 365 authentication has already removed 2007 endpoints.
My blog: www.crmanswers.net