%@ page import="com.yahoo.platforms.pipes.util.Diagnostics, com.yahoo.platforms.yql.filter.YahooAuthFilter;"%> <% boolean status = YahooAuthFilter.isYahooInternalUser(request); if(!status) { if (("/").equals(request.getRequestURI())) { //This page is served as a welcome file response.sendRedirect("http://developer.yahoo.com/yql/console"); } else { response.sendRedirect("locked.html"); //do not show console to non yahoo ip request } return; } if (("/").equals(request.getRequestURI())) { //This page is served as a welcome file response.sendRedirect("v1/test/console.html"); return; } response.setHeader("X-Frame-Options", "DENY"); %>