If you want to disable access of particular file extension then you can do this with Includes Editor.
You can follow below steps for that:
Login to WHM.
Here click on Apache Configuration under Service Configuration.
Here click on “IncludeEditor” and then Pre VirtualHost Include
After that...