how to decrypt aspx code behind pages...

Posted on 2006-11-01
Last Modified: 2010-08-05

i am going deploy my aspx pages in my webserver.. unfortunately any user who can access webserver, will be able to view my aspx.vb code behind page using notepad.. So i need to decrypt my pages so that user wont be able to open it via notepad or ,NET ide.

I know in visual studio 2005.. my code behind pages will be like dummy file.. but i am using ,NET 1.1 and visual studio 2003 and how can i achive the above mentioed feature in .net 2003.

Question by:niger007
LVL 10

Accepted Solution

anv earned 100 total points
ID: 17855580
Hi Niger

I'm confused!!!

If you have deployed the compiled code. how can anybody access the code-behind file?

LVL 11

Assisted Solution

by:Vivek Thangaswamy
Vivek Thangaswamy earned 100 total points
ID: 17855607

There is no need to publish your aspx.vb in your weserver. You just publish your ASPX pages and your DLL's that will work fine.


Author Comment

ID: 17855770
Sorry lack of experince in we development..
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

LVL 10

Expert Comment

ID: 17855824
Thats fine..

even we used to ask such questions. :)
LVL 11

Expert Comment

by:Vivek Thangaswamy
ID: 17855836

publish your compiled code and try.


Assisted Solution

boy8964 earned 50 total points
ID: 17855885
No one can see your code if you only upload .aspx pages not .vb pages. all your code have compiled into tp .dll file. so only upload .dll file and .aspx files!!!!!!!!!! forget your .vb files!

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now