.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 6th, 2002, 11:54 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Declarative Code Access Security

<i><b>Originally posted by : Kerry (Whelan_kerry@hotmail.com)</b></i><br />Hi,<br /> I am attempting to use declarative code access security to protect<br />my C# web application. I am using<br /><br />[UrlCodeIdentityPermissionAttribute(SecurityAction. Demand, Url =<br />"http://www.microsoft.com")]<br /><br />outside of the main class in my dll. <br />I understand that this means that if a website other than Microsoft<br />calls my dll code they should be refused access to the protected class<br />- an exception should be thrown. When I call my dll code from another<br />program, access is always granted.<br /> Is my understanding of declarative code access security incorrect?<br />What am I doing wrong? Any help would be greatly received. I am new to<br />this area and am finding it difficult to find code examples of such<br />code. Examples of imperative security would also be useful<br /><br />Thankyou,<br /><br />Kerry<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Declarative Code Access Security


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT