All these languages (.Net, Java, PHP, Python and Ruby on Rails) support all the security implementations. They are all the best programming languages and provide the best security features for developing secure website. Every programming language offers the different features so you can develop a website with anyone of them that offers you more security features to create static, dynamic and more secure websites with it.