Is it dangerous thing to view access log without sanitizing via web browser?
I am considering to record access log,
and I am considering to view it via wev browser,
but if attacker modifies his remote host
or user agent or something,
can he attack to me?
By inserting attacking code into his remote host or user agent or ect.
So do I need to sanitize by htmlspecialchar
before opening the access log file via web browser?
I mean attacker insert some attacking code
into his remote host or user agent or someware,
then I see that access log via web browser,
then my PC will be affected that code.