It's an adhesive which, diluted with water, is often used as a sealant to aid the bonding of paint or tile adhesive, etc. I'd say you'd need to water it down quite a lot for the purpose described here, but I'm not an expert so will let someone else advise on the proportions...!
[Post crossed with S.L.F.'s while he was expanding!]