Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can users see my ASP code?

ASP 101

Can users see my ASP code?

by  chiph  Posted    (Edited  )
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.

Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top