Web Page Guest Access

Hi everyone,
although there is an option to disable guest access for webview page but it doesnt seem to work. Anyone know how to handle this or work around it? Need to give web page access only to users who are logged in and are allowed access to the doc.