Finish the security of pages with friendly redirections