Caught in the cosmic web: Environmental effect on halo concentrations, shape, and spin