Both.

I need to secure RD running on a computer that is in a AD and one that isn't.