There are load of different ways to use the web.config to deny access to pages. You can blanket whole directories, or individual files like you said.
As for the redirection, maybe they decided not to use it, or didnt know it was there. There are loads of descrepencies in the book from start to finish, you can tell that by the way the classes change chapter to chapter and for instance the way objects are populated changes and is not consistent. using the ASP.Net redirect is probably the best solution, problem with is, if you go straight to the login page, then the return URL queryString value does not exist, so you have to account for that.
Rob
|