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
Post a Comment