I am developing a Web Application in Asp.net 4.0 , wherein i have two types of Pages Secured and Unsecured.
To access Secure Pages, the user must successfully Login.
This can be achieved in two ways:
1st Approach : Location Tag in web.config file.
2nd Approach : Make 2 virtual directories for Secured and Unsecured.
Please suggest the better approach and also suggest ,if any other better option available.
Thanks In Advance.....