473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

view source

Hello,
Is there a way to prevent people from viewing my source code on the
web? Is it a setting in the web.config file?

Thanks,
Billy
Nov 21 '05 #1
3 1057
do you mean turning off trace and debug?

Yes they are both setting in web.config.
"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd*************************@posting.google.co m...
Hello,
Is there a way to prevent people from viewing my source code on the
web? Is it a setting in the web.config file?

Thanks,
Billy

Nov 21 '05 #2
Yeah. Thanks.

"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message news:<uo**************@TK2MSFTNGP11.phx.gbl>...
do you mean turning off trace and debug?

Yes they are both setting in web.config.
"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd*************************@posting.google.co m...
Hello,
Is there a way to prevent people from viewing my source code on the
web? Is it a setting in the web.config file?

Thanks,
Billy

Nov 21 '05 #3
I assume that you found the way to do it web.config.

if not there is the section
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb
information)
into the compiled page. Because this creates a larger file that
executes
more slowly, you should set this value to true only when debugging
and to
false at all other times. For more information, refer to the
documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="vb" debug="true" />

for debugging.

and
<customErrors mode="RemoteOnly" />
these may be what you were wanting.

HTH,

shane
"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd**************************@posting.google.c om...
Yeah. Thanks.

"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message

news:<uo**************@TK2MSFTNGP11.phx.gbl>...
do you mean turning off trace and debug?

Yes they are both setting in web.config.
"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd*************************@posting.google.co m...
Hello,
Is there a way to prevent people from viewing my source code on the
web? Is it a setting in the web.config file?

Thanks,
Billy

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gary DeRousse | last post by:
Hello, Using SQL Server 2000, I'm trying to put together a query that will tell me the following information about a view: The View Name The names of the View's columns The names of the source...
5
by: Pete Wason | last post by:
Hiall! I have a demo viewer page for javascript stuff that has three buttons "DEMO" "HTML" and "JSCR", and an IFRAME called 'viewer'. Initially, the IFRAME gets loaded with the actual demo...
8
by: Nancy | last post by:
Hi, Guys, I don't know why I can't view some webpages source code by click "View->Source" menu of Browser. These webpage source code can be viewed in same way by using other computers. My OS is...
18
by: Lorem Ipsum | last post by:
interesting! I just found a page in which Explorer's View Source does nothing! How did they do that?
4
by: steph | last post by:
Hi, A question regarding Access 2002: I've got a form which should be displayed in Form View and in Datasheet View. But I want to use a different record source for each view. That means, when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.