How can I prevent people accessing from excel?
You simply can't
MS Excel is a client application as any other and SSAS don't differ between what application it is.
And what could that be good for?
MS Excel is a very common and execellent for data analysis.