Meteor's source code open to the clients?

前端 未结 2 2020
眼角桃花
眼角桃花 2021-02-14 00:35

From a general glimpse of it, it seems that source code for Meteor app is open to the clients due to \'Write one Javascript file, run it on client and server at once\' theme.

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-14 01:06

    The best way to secure a client-server app is by writing explicit security checks on the server, rather than hiding the database update logic from the client.

    For a longer explanation of the security model, see https://stackoverflow.com/a/13334986/791538.

提交回复
热议问题