Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Code Access Security (CAS) Problem

Thread Tools

Code Access Security (CAS) Problem

Posts: n/a

I have written a windows forms control that we are attempting to host in an
IE browser. The application hosting the control is ASP.NET. The control uses
the following CAS permissions: IsolatedStorageFilePermission,
SqlClientPermission. Using a strong name I have signed both the web
application and the windows forms control. In addition I created a code group
below intranet applications that specifies this strong name and allows full
trust. This has alleviated the IsolatedStorageFilePermission exception.
However, the application still throws the SqlClientPermission exception any
time it attempts to access a SQL Server resource.

Any ideas and/or thoughts would be apperciated.


Reply With Quote

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Access, Access Denied Marc ASP .Net Security 0 08-16-2006 04:11 PM
Article : Code Access Security Part - 1 (.Net FrameWork Tools Series) Namratha Shah \(Nasha\) ASP .Net 1 11-08-2004 05:04 PM
Article : Code Access Security Part - 2 (.Net FrameWork Tools Series) Namratha Shah \(Nasha\) ASP .Net 0 11-06-2004 06:50 PM
IT-Security, Security, e-security COMSOLIT Messmer Computer Support 0 09-05-2003 08:34 AM
Security problem with Managed Code calling Unmanaged Code in a Web Page GAH ASP .Net Security 0 07-11-2003 06:27 PM