473,466 Members | 1,382 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Detecting Trust Level

Hello,
I'd just like to start out this post by saying I'm not a developer by
any means. I do have a question that falls into the developer realm
so I figured I'd give it a shot and ask here. I'm working with a
program that has issues running in medium trust. The code is being
rewritten to allow it to run in medium trust, but in the mean time I'd
like to come up with some documentation for our customers.

What would really be helpful is a way to detect the trust level that
a .net page is running under. I've searched the web and this group
for a good method, but one didn't present itself. Is there a way to
do this?

Feb 19 '07 #1
2 2059
On Feb 19, 5:00 pm, "Will" <wplatn...@gmail.comwrote:
Hello,
I'd just like to start out this post by saying I'm not a developer by
any means. I do have a question that falls into the developer realm
so I figured I'd give it a shot and ask here. I'm working with a
program that has issues running in medium trust. The code is being
rewritten to allow it to run in medium trust, but in the mean time I'd
like to come up with some documentation for our customers.

What would really be helpful is a way to detect the trust level that
a .net page is running under. I've searched the web and this group
for a good method, but one didn't present itself. Is there a way to
do this?
http://blogs.msdn.com/dmitryr/archiv...n-asp-net.aspx

Feb 19 '07 #2
On Feb 19, 11:05 am, "Alexey Smirnov" <alexey.smir...@gmail.com>
wrote:
On Feb 19, 5:00 pm, "Will" <wplatn...@gmail.comwrote:
Hello,
I'd just like to start out this post by saying I'm not a developer by
any means. I do have a question that falls into the developer realm
so I figured I'd give it a shot and ask here. I'm working with a
program that has issues running in medium trust. The code is being
rewritten to allow it to run in medium trust, but in the mean time I'd
like to come up with some documentation for our customers.
What would really be helpful is a way to detect the trust level that
a .net page is running under. I've searched the web and this group
for a good method, but one didn't present itself. Is there a way to
do this?

http://blogs.msdn.com/dmitryr/archiv...g-out-the-curr...
Great, thanks!

Feb 19 '07 #3

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

Similar topics

0
by: nedk | last post by:
I did the walkthrough at http://msdn2.microsoft.com/library/879kf95c(en-us,vs.80).aspx on creating a web site with membership and user login in VS 2005 but when I click on the login button I'm...
0
by: Fabrice | last post by:
Hello, One question about security. I try to secure my web application on IIS6 and asp.net 1.1 I have differents questions about the element "trust level" in the config.web to manage...
5
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called...
10
by: Henk van Lingen | last post by:
Hi, docs say (19.2.1): When trust authentication is specified, PostgreSQL assumes that anyone who can connect to the server is authorized to access the database as whatever database user he...
3
by: Aahz | last post by:
I have asp.net 1.1 web site with two controls downloaded from internet (obout slide menu and webcharts), which runs fine on the old server. Few days ago my hosting provider sent me on new server...
0
by: Atul Thombre | last post by:
Hello, I am developing a custom membership provider. For that I built a prototype that uses a SQL Server 2005 database as a backend store. I implemented the class...
2
by: KUTTAN | last post by:
I a using System.Reflection System.Runtime.InteropServices System.Security.Permissions In my web application In this, Reflection need low thrust level to run But I have hosted my site in ...
4
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
Is it possible for a medium trust web application to read the Membership providers? The following throws a SecurityException: MembershipSection membershipSection =...
4
vikysaran
by: vikysaran | last post by:
Hello, I have my new application on Godaddy.com server. Previously it was giving error on Permission. i asked support about it and they told me to set trust level MEDIUM so I search over the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.