ASP code runs on the server, so there's no need to hide it (unless your users have access to the server, and then you've got bigger problems). Users cannot do a "View Source" on it, or look in their browser's cache to see your code.
The only thing the users can see is what you send them. So they can see the HTML elements output by your ASP, and they can see any javascript, etc. that you send. But that's all. They'll never see your database connect string, or any of the code that accesses your database.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.