Perhaps I may refer to a book titled “Die Empty” by Todd Henry, 2013. it’s good to enable people to share and have access to any piece of your useful work. In other words, don’t die while hiding a massive amount of practice and knowledge!!!
It is very well to share any scientific information... But what if this information is a patentable invention and its owner is your institution, not you?