masking a sensitive information in UI


I am using bootstarp, angularjs c# mvc in my application.

I see there is some information appId whose value is e.g. $%@#$*($% which gets rendered on the page(view source).

How can I mask it and still keep it working?

This appId is used to make webservice request to third party.
Dinesh KumarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
This appId is used to make webservice request to third party.
Is this used from within the browser? If so masking it won't help because at some point you have to un-mask it so you can send it to the web-service.
If it is not used from withing the browser - then why is it there.

Any masking that you do that you need to undo in the browser is pointless as anyone can use the console to view the process and hence the value.

If you need the appid to go to the page so it can be returned to the server and used there then mask it on the server side using whatever process is easiest.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Prakash SamariyaIT ProfessionalCommented:
Are you having difficulties using  appId? Why you want to mask it?

There are other alternates to get that control/tag. You can give name or class to that control/tag and catch them using that name/class!!
Dinesh KumarAuthor Commented:
Thanks for making use of word 'Pointless' :)
Julian HansenCommented:
You are welcome - we try hard here at EE.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.