CS FundamentalsHardProduct-company placement · security
A bank sends Strict-Transport-Security: max-age=31536000 and is not on any browser's HSTS preload list. Which statement is correct?
- A. It protects even the first visit, because the browser reads the header before any TLS handshake
- B. After one HTTPS visit the browser upgrades later http:// requests itself; a first HTTP visit can still be stripped
- C. It lets the browser accept the site's self-signed or expired certificates without warning for a year
- D. It forces the server to redirect every HTTP request, which by itself defeats SSL-stripping attacks
Correct answer: B. After one HTTPS visit the browser upgrades later http:// requests itself; a first HTTP visit can still be stripped
HSTS is remembered from a response received over HTTPS; afterwards the browser never makes plain HTTP requests to the host and refuses certificate click-through. A first visit before any HSTS response is the gap that preload lists close.
More Computer Networks questions
- A bitmap image is encrypted with AES, and the ciphertext still shows the outline of the picture. Which mode of operation was used, and why?
- A developer encrypts two different messages with the same one-time-pad key K: C1 = M1 ⊕ K and C2 = M2 ⊕ K. What can an eavesdropper…
- A layer-2 switch carries an IPTV multicast stream. Without any special feature it floods the stream to every port in the VLAN. Which…
- An AS with two upstream ISPs wants inbound traffic to prefer ISP A, so it advertises its prefix to ISP B with its own AS number repeated…
- In 802.11, SIFS = 10 µs, a CTS and an ACK each take 44 µs, and the data frame takes 1000 µs. Station X hears the CTS from the receiver but…
- VoIP packets are generated every 20 ms (at t = 0, 20, 40, 60, 80 ms) and suffer network delays of 50, 70, 45, 95 and 60 ms. The receiver…