Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi All,

How could we avoid to trace the password when the preserver log is on in chrome browser

we could find that the password can trace when it is on f12 mode

How to avoid that?.Our project is developing on MVC4.Do we have any changes in webconfig file for preventing this?

Thanks & Regards,
Soumya
Posted
Comments
Nathan Minier 11-Aug-14 10:21am    
That should just be at the endpoint, the password is being sent via SSL, correct?

If that's the case you can only do so much to prevent the browser side from doing, well, anything. The best you can do is run browser (and possibly addon) detects and handle the page differently based on that information, but frankly even that can be spoofed.

If you're concerned about information being saved on public systems or snooping on the client side, you're limited to ACLs for intranet (or static) systems or administrative policy controls. You _could_ use a javascript encryption solution, but even that's not secure if you don't trust the client system.

1 solution

Sorry, without a single line of a code sample, it's nearly impossible to see what were your mistakes. To get you some general ideas, please see my past answers:
i already encrypt my password but when i log in it gives me an error. how can decrypte it[^],
Decryption of Encrypted Password[^],
storing password value int sql server with secure way[^].

You have everything to implement the use of cryptographic cache function explained in my answers referenced above.
Client-side: http://code.google.com/p/crypto-js[^].
Server-side, .NET: http://msdn.microsoft.com/en-us/library/system.security.cryptography.sha256%28v=vs.110%29.aspx[^].

Still, this is not safe enough if you are not using SSL. Otherwise, even though a malicious intruder cannot get the original password, its hash can be eavesdropped, and then this person can impersonate a customer and then modify a password or do other harm. But the most vulnerable point will be the process of setting up an initial password, if the traffic is eavesdropped. So, try use both SSL and cryptographic hash for passwords.

—SA
 
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