Let me explain my SharePoint2010 environment, my solution is sandboxed solution and my site is public facing site. This site is hosted outside my premises and we are not allowed to use any server side code deployment over there. I figured out following solution.
- Http Module redirection
- Use an elevated privilege option and Lock down the anonymous access ( but hosting environment is not allowing any server side code other than sandbox )
- IIS URL redirection ( I think this is the best solution to stop anonymous access to view the lists pages)
Please advise for my scenario, IIS URL redirection is enough to stop the anonymous access to site's list pages or I should adopt other solution. Reason Actually I have to add suggestions in the suggestion list, for this I need an anonymous access to the list, That is the bone of contention. we need to provide this functionality ,but we don't want anonymous user to access the viewlsts.aspx pages Hope I elaborate my issue clearly!