File control by extension

Hi guys,

Is it possible to block certain files when they are executed? For example, block all .EXE files when they are clicked