This is a tip I came up with when my kids gave me a security camera to put outside. I live in a townhome governed by HOA rules. One of the rules is "no piercing of any exterior siding". While the camera worked OK in a window, the glass prevented my getting any notifications that there was someone outside.
In order to get this camera outside and out of reach of the bad guys, I got creative. I went and bought a shower curtain rod that of course is a tension rod. I am lucky that the depth of my small farmer porch was just right. Then I drilled 2 tiny pilot holes in the rod and attached the mounting bracket.
Source: My own idea
As the saying goes, "Necessity is the mother of invention." Great job on your ingenuity!