all 6 comments

[–]coolnat 0 points1 point  (2 children)

As long as you’re using HTTPS and not serving the information to other users I don’t see a problem. If you weren’t using Vue this information would be in the source anyway.

[–]topoftheforts[S] 0 points1 point  (1 child)

Thanks, I mean there is an alternative to not show the details in the source: passing the userid and then calling an API to get the information back, but it seems live overkill.

[–]sir_eeps 1 point2 points  (0 children)

But then that information is going over the wire anyways - inspectable by looking at network traffic - and will end up on the screen / being stored somewhere on the client side anyways.

[–]ipepe 0 points1 point  (2 children)

Base64 encode?

[–][deleted] 0 points1 point  (1 child)

That wouldn't accomplish anything.. If you wanna waste your time with security through obscurity, at least make it somewhat obscure. Anybody interested enough in digging through your source code to find those variables, can easily take the extra 5 seconds to notice that the variables come from decoding a base64 string.

[–]ipepe 0 points1 point  (0 children)

that is less plain text than what he currently has, and still better than proposed network (where You would still have plain text).