+ 3
Which language is best for web development ? With security point of view.
I want to just know which language is best at server side , with security. suitable for e-commerce website.
2 Respostas
+ 2
In my opinion it's not really a question of language, but rather of architecture. You need to keep unauthorized actions out of your server. This can be achieved by setting your server to only listen on specific Ports and requireing authorized users for some Locations on your server. Up to that point it is just server settings, depending on the Server software you're using, like Apache, Angular, nginx etc.
Then there's the thing with the front-end, that needs to be backed by the server-side scripts: if you're running a database make sure to avoid sql injections. Depending on the Server-side language, there should be a function available to automatically escape e.g. semicolons.
Furthermore all plausibility checks of values should be done on the server's side, because client-side checks are visible an can be altered or even bypassed.
When your site goes live, make sure you have debugging turned off because it might provide essential information if someone enters an invalid value on purpose.
To sum up, there isn't THE best server-side language. If you're more into retro stuff and clear separation of what is client and what is server, you might like the LAMP stack better with php as server-side language. If you're more modern and want to code only one language the MEAN -stack might be your weapon of choice with Javascript as server and client language
- 1
i think just use HTML5