I've got a page that I don't want anyone to be able to access if it isn't being opened in a colorbox. I'd like to redirect them back to "/dashboard/".
To clarify, if the page is accessed directly(not in an iframe/colorbox), redirect, else, load the page.