I do the same as BrewBama, but my keg full of sanitizer is on a small stool and the outlet goes into a bucket on the floor with a clamp to hold the outlet hose in place in the bucket. I give some head pressure start into the keg with a small dose of CO2 to create a positive pressure in the keg (a small siphon out may then be occurring, if at all, but it doesn't drain the keg by any means - just a little bit of sanitizer), then when the fermentation kicks off, the sanitizer flows to the bucket by CO2 pressure from the fermenter. Since the keg is hooked up to the "in" post from the fermenter, there is no way the keg will siphon back into the fermenter (the "in post" doesn't reach any fluid at that point.)
I hope this helps explain a pretty standard procedure. I have done this for years. Also, for what it is worth, I disconnect the keg after it is emptied into the bucket, collecting a little pressure to seal it, then I disconnect the keg and put a spunding valve directly on the fermenter ("in" post, again) to initially carbonate the fermenting beer. once done, I rack under pressure from the fermenter to a holding (bright/clearing tank) keg for dispensing.