Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Form target action: login.aspx

Impact
If an attacker can intercept network traffic he/she can steal users credentials.

Actions to Take
See the remedy for solution.
Move all of your critical forms and pages to HTTPS and do not serve them over HTTP.
Remedy
All sensitive data should be transferred over HTTPS rather than HTTP. Forms should be served over HTTPS. All aspects of the application that accept user input starting from the login process should only be served over HTTPS.


please help me how i can send my username and password in https???????
Posted

See this link from IIS forums. Hope it helps you:
http://forums.iis.net/t/1147466.aspx[^]
 
Share this answer
 
Hi there,

HTTPS is a server configuration thing and will (in most respects) not affect your code. Please search the internet for how to set up HTTPS on your server - there are many articles explaining how HTTPS works and how to set it up. Effectively you just need to buy an HTTPS certificate and set up your server to use that and then turn off port 80 (plain HTTP) connections.

The only code addition/change you will need is to put a server side check on each page request to make sure that the page request is coming via HTTPS.

I would suggest that it is best to run your entire site over HTTPS - otherwise, what is the point of having passwords eh? If an attacker can simply sit in the middle and read all the "private" info as it passes, he/she doesn't need the user's actual username/password, he/she simply needs to wait for them to view a page with their account info!

Oh by the way, if you apply the same (valid) logic to Facebook then you quickly realise that if you (and everybody else) doesn't turn on Facebook's HTTPS setting, you may as well put everyone's entire profiles as open to the public! Since you and friends will be viewing "private" profiles over a completely open connection from which any attacker could read all the information - without ever needing to even go to Facebook itself! Much less need a username/password. Incidentally, unless Facebook has changed suddenly, they don't turn on HTTPS by default - you have to go digging in their more than confusing/messy settings menus to find the option to turn it on for everything rather than just for login.

Hope this helps,
Ed
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900