I'm new to the web engineering and I have done some searching for URL/Domain masking. In my company, my HOD asked one question during meeting and wants the answer in the next meeting. He asked that why are some sites will hide their real file type?
http://example/examplefolder/page.html. Why the extension of the pages will always end up in
html? Is is the reason to prevent some curious outsider from trying to attack the web site? Is this related with URL rewritting?