password display in view source
-
Hi i have on profile page and in that page the password of login user will display on page load. when i view page source then the value of the actual password is shown. so i need to make solution of this. please note that if user enter new password here and click on save then password will be changed. so is their any way so that the password will not appear in viewsource and will shown to user. please keep in mind that he can change password from here too.so it not possible to show hashcode or etc.
Regards Keyur Satyadev
-
Hi i have on profile page and in that page the password of login user will display on page load. when i view page source then the value of the actual password is shown. so i need to make solution of this. please note that if user enter new password here and click on save then password will be changed. so is their any way so that the password will not appear in viewsource and will shown to user. please keep in mind that he can change password from here too.so it not possible to show hashcode or etc.
Regards Keyur Satyadev
Your code is really, really crap. I can't percieve of any reason for the password to be sent to the client. Good code doesn't even load it into memory, it just asks the database if it matches. Reasonable code would have it stored in the web config or similar. I can't even imagine what the hell it is you are doing.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi i have on profile page and in that page the password of login user will display on page load. when i view page source then the value of the actual password is shown. so i need to make solution of this. please note that if user enter new password here and click on save then password will be changed. so is their any way so that the password will not appear in viewsource and will shown to user. please keep in mind that he can change password from here too.so it not possible to show hashcode or etc.
Regards Keyur Satyadev
well, if you want to send password in textbox, it will come with HTML. Why do you require to show current password to the user, just when the user is logged in, you can let the user change his password, and send a notification to his mailbox. We dont have encryption with javascript, if you still want, you can find some help from here http://www.hanewin.net/encrypt/ Other than that if you dont want to show the password directly to the user, why dont you do encryption to the server. Or why do you require at all to send the password to the client? :confused::confused:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates -
Hi i have on profile page and in that page the password of login user will display on page load. when i view page source then the value of the actual password is shown. so i need to make solution of this. please note that if user enter new password here and click on save then password will be changed. so is their any way so that the password will not appear in viewsource and will shown to user. please keep in mind that he can change password from here too.so it not possible to show hashcode or etc.
Regards Keyur Satyadev
-
Your code is really, really crap. I can't percieve of any reason for the password to be sent to the client. Good code doesn't even load it into memory, it just asks the database if it matches. Reasonable code would have it stored in the web config or similar. I can't even imagine what the hell it is you are doing.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
i know what are you saying. but the requirements from client's is to show the password when user login and come to page. so i need solution. i know the password will not good to show the client. but asap their is some specification by client i cann't do anything. hope u understand.
Regards Keyur Satyadev
-
hey i can`t think how you made your page that works like this !!! :wtf: you know , there should not be any thing at client side about passwords ! make it in a way that don`t send any pass to cilents :zzz:
sajjy wrote: hey i can`t think how you made your page that works like this !!! WTF this is requirement from client i cann't do anything. :( sajjy wrote: you know , there should not be any thing at client side about passwords ! i know but i have no rights to choose client's design or client's scope. :rolleyes:
Regards Keyur Satyadev