You couldn't program with .Net if you couldn't view/edit the source code.
;-) If you're asking if you can view the source code inside a compiled DLL,
well, that depends. First, one would have to gain access to the file, which,
unless one has permission, is highly unlikely. Assuming that some hacker did
gain access to the DLL, well, they could view the MSIL code that is in the
DLL, yes. Of course, if you use an obfuscator when building your DLLs, that
isn't going to happen either. Finally, if you haven't compiled a DLL, and
are using scripted CodeBehind, again, someone would have to gain access to
these files in order to view the source code. And we're back to the same
issue we started with again. If you're concerned about Security, the bottom
line is this: How good would your server's security be if people could gain
access to the file system? Because that is the only way anyone could
possibly view the source code for any .Net class on the server.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
Is it possible to view the source code for .NET classes?
Thanks.
Jay