Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protection of specific files in local
Message
From
04/07/2006 23:00:59
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Protection of specific files in local
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133718
Message ID:
01133718
Views:
71
A user trying to reach a file in the app_data or app_code directory will not succeed because those are protected by the framework. The same goes with the bin directory files. But, if a user tries to pull the .vb version of account.aspx, for example, the server will try to interpret that file and return something like:

"Unable to cast object of type 'System.Web.HttpForbiddenHandler' to type 'System.Web.UI.Page'."

Is this normal?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform