Background . I have an asp.net webapplication project that should contain a public scope and a member scope. Now I want to implement SSL encryption to protect communication between the client and server. (At the university, we have an unsecured wireless network, and you can use wlan sniffer to read the username / password. I do not want to have this security problem for my application, so I thought about ssl decription)
The application runs on IIS 7.5. Is it possible to have one webapp that has unprotected pages (for example, a public zone) and a protected area (for example, a member region that requires a login)? If so, how can I release the link between these too areas?
Example : My webapp is hosted at http://foo.abc . I have pages like http://foo.abc/default.aspx and http://foo.abc/foo.aspx .
In the same project there is a page like /member/default.aspx , which is protected by a login on the page http://foo.abc/login.aspx .
Therefore, I will need to implement SSL for the /login.aspx page and all pages in /member/
How can i do this? I just found out how to create SSL certificates in IIS 7.5 and how to add such a binding to webapp. How can I say that my webpage should be called with https, not http. What is the best practice there?
citronas
source share