Forum Discussion
zafer
Nimbostratus
Nov 08, 2018Comment Protection
Hi
developers keep their comments into the codes, how can i protect/remove this comments with ASM
regards
zafer
samstep
Cirrocumulus
Nov 09, 2018You can use DataGuard feature in ASM . Even though HTML comments are not credit card / Social Security numbers they can still be sensitive data which should not leak to attackers.
Dataguard can mask the sensitive data with asterisks and raise a violation when comment is found.
You will need a Regular Expression for HTML comments, here is an example:
https://blog.ostermiller.org/find-comments-html
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
