If there is a cavity inside the conductor or it is hollow, the field strength inside the cavity equals zero, whatever is the field outside the conductor.
Hence whatever be the charge and field configuration outside, any cavity in a conductor remains sheilded from outside electric infulence. This is known as electrostatic sheilding.