I want to block access to my ASP.NET 2.0 web page if the time is
between 3:00 and 4:00. I know how to do the date math - is it proper
to throw an UnauthorizedAcc essException at that time? I want to pass
an "access denied" back to the browser but am not sure if that will
work.
Thanks
Comment