Until something is explicitly made illegal, it's legal and it can take a while for the law to catch up to reality, especially with how fast technology is changing. There have been lots of times when something happened where people agreed it was morally wrong, but technically legal.