I managed to get a folder password protected in asp.net using a few steps..
setting <authentication mode="Forms"/>and setting up a membership provider in the site database using aspnet_regsql.exe. <deny users="?"/> on the subfolderadding a page with login control to the root of the site.created some users using create user wizard.
Now when I go to the subfolder it redirects to the login.aspx and logging in redirects back to the subfolder if I use the correct login. But I have a few questions about this....
1) this seems to easy, is it worthless? I mean, when I go to the subfolder it asks me to login. To my untrained eye this seems like working authentication with fairly minimal setup, but am I just being naive? Obviously I'm going to have to learn more about roles etc to take this to the next level, but in the meantime, is this effect ...
Go to the complete details ...