remove space

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

is there a function in asp.net that removes all spaces in output html? so
it's harder for humans to read and steal your code. and smaller size too

Aaron
 
is there a function in asp.net that removes all spaces in output html? so
it's harder for humans to read and steal your code. and smaller size too

Aaron

Well, it does make it harder to read and smaller in size, but of course
they still can rather easily steal your code if they really want. But use
a response filter which attaches itself to the pipeline as the HTML is
being written to the response stream. Here's just one example of its use;
you can easily tailor to remove characters, etc.

http://www.aspnetresources.com/articles/HttpFilters.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top