Skip to main content
The 2024 Developer Survey results are live! See the results
removed superfluous tags - ngif tag is about .net
Link
Source Link
Edi
  • 327
  • 4
  • 16

how safe is ng-if to hide secure information

A div(contains secure information) in my HTML page has to be displayed based on a permission.

  • How safe is it to use ng-if to hide the div in this scenario?
  • Will a user be able to hack and view the div which contains secure information?