How to hide value in HTML hidden field for auto logon page?
Posted on 2010-01-10
We have a basic ASP.NET page that takes the user's username and password and logs them into an externally hosted web app through its logon page.
It works by retrieving the username password from our internal database, adding these to HTML hidden fields and using the POST method to submit into the external web app login page.
The only problem is that if you "view souce" while the ASP.NET page is loading, you are able to see the password.
Does anyone know how I can hide the "hidden" HTML field so it wont be visible in "view source", or if there would be a better was to go about this in order to submit the username and password to the login form but keep the details hidden from the user?