How can I make an Object visible only through another object?

Do you think that is possible with this method to render the occluded object with its normal colors, shadows, reflections et cetera?