Dependent on the design of the 'front' the one on the porch may suffice for code compliance. Really could not say for sure without seeing the situation.
A situation could be what we see with holidat dec lighting, the cords all over the front of houses. That is what I refer to as 'temp lighting' & usually don't say anything about that unless it is deemed a danger.