PHP / Apache - Best way to validate HTTPS connection -


i learn best way, in terms of security, validate request made using ssl (over https).

my environment php , apache. can think of many ways it. possible check $_server['server_port'] , $_server['https'] variables.

it possible force apache listen port 443 , disable port 80. possible use sslrequiressl directive in apache.

and believe there many other options.

so, how right way?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -