Accepted Answer
-- The product of their two masses (no matter what the individual masses happen to be),-- The distance between the centers of mass of the two masses.Nothing else affects the force of gravity between two objects,and nothing in between them can 'shield' or block it.