javascript - Can a page detect when user has loaded it insecurely -


Regardless of the SSL certificate issues, whether the user has loaded the page or not (via javascript) to detect an HTTPS Any way on the page?

Usually users click through many exception alerts and the address bar turns red, but in some contexts users can ignore it, and as an author of an application , I would rather place additional in-app warnings to warn the users against doing this, it would also be useful to be able to log in such incidents.

The short answer is that you can not.

The reason for this is that if you can increase it some security issues.
SSL verification is done in the browser by third party components and you have "" status for the browser. "

for example in Chrome

The implementation is only part of the browser code and not a part of the V8 engine is a JavaScript engine used by Chrome

then the answer is not , you can not tell it Whether the connection is secure or not.

The only thing you can know is that The Javascript protocol is and does not exceed that.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -