Level 102
Thats how inertia works. You need to ensure you only send data that the users are allowed to see. Encrypting it wont help as you will be decrypting it clientside
Read the first yellow box here: https://inertiajs.com/responses
I noticed when I deployed my app on live server: It shows the data-page inside a div and it contains all the data I declared inside the HandleInertiaRequest Middleware. Do you guys think how I can hide it? or encrypt it if I need to?
Thats how inertia works. You need to ensure you only send data that the users are allowed to see. Encrypting it wont help as you will be decrypting it clientside
Read the first yellow box here: https://inertiajs.com/responses
Please or to participate in this conversation.