There is not way for PrettyFaces to distinguish between the two kind requests. I doubt that something like this makes sense. The only way to implement something like this would be to manually check the “Referer” header.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.