Ask a Question related to ASP.NET Security, Design and Development.
-
A.M #1
Code Access Security
Hi,
I am developing an ASP.NET application which works as a very restricted
identity on IIS6.0
The application will just have communication with DB server (no file system
or registery access)
Is there any benefit to consider code access security inside assemblies?
Thanks,
Ali
A.M Guest
-
Client Certificate and Code Access Security
Hi, I am implementing a IIS deployed client (Windows Forms) that accesses a web service on the same server. I want to use client certificates for... -
Article : Code Access Security Part - 2 (.Net FrameWork Tools Series)
Hey Guys, Before we start with our sample app we need to view the security configuration files on the machine. You will find them under ... -
Article : Code Access Security Part - 1 (.Net FrameWork Tools Series)
Hey Guys, Today we are going to look at Code Access Security. Code access security is a feature of .NET that manages code depending on its... -
Code Access Security -- Simple but working examples
Folks, I'm desperately trying to understand code access security. MSDN and VS.NET help files explains the concepts in details but the code... -
Security problem with Managed Code calling Unmanaged Code in a Web Page
Hello, I have a web page which contains an ActiveX control (unmanaged) and a Windows Forms User Control (managed). Both reside on a web page and... -
[MSFT] #2
RE: Code Access Security
Hi AIi,
Thank you for using the community. From the description, you have a single
ASP.NET appliaction and it only access a database server. In this case, the
Code Access Security may do little help on security. Code Access Security
is important when the application access local resource or cooperating with
another appplication. In your situation, you only need to ensure the
restricted identity has proper permission to execute the ASP.NET
appliaction and access the database server. And, from the database side, it
should restrict the access, only allow the restricted identity open an
connection.
For more information on Code Access Security and ASP.NET, you may refer to:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]
l/cpconASPNETCodeAccessSecurity.asp
Hope this help,
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
[MSFT] Guest
-
.NET Follower #3
Re: Code Access Security
if u wnat onle specify assembly call ur assembly
then u can use codeAS
with strong naming conventions...
--
Thanks and Regards,
Amit Agarwal
Software Programmer(.NET)
"[MSFT]" <lukezhan@online.microsoft.com> wrote in message
news:o2hn1DT8DHA.3736@cpmsftngxa07.phx.gbl...the> Hi AIi,
>
> Thank you for using the community. From the description, you have a single
> ASP.NET appliaction and it only access a database server. In this case,with> Code Access Security may do little help on security. Code Access Security
> is important when the application access local resource or cooperatingit> another appplication. In your situation, you only need to ensure the
> restricted identity has proper permission to execute the ASP.NET
> appliaction and access the database server. And, from the database side,to:> should restrict the access, only allow the restricted identity open an
> connection.
>
> For more information on Code Access Security and ASP.NET, you may refer[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]>
>> l/cpconASPNETCodeAccessSecurity.asp
>
> Hope this help,
>
> Luke
> Microsoft Online Support
>
> Get Secure! [url]www.microsoft.com/security[/url]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004
.NET Follower Guest
-
Joe Kaplan \(MVP - ADSI\) #4
Re: Code Access Security
In my opinion, it is always good in theory to consider CAS when writing a
DLL as that will make it a better .NET citizen. However, if you are sure
the assembly will only run in a FullTrust environment, then in reality, you
can safely ignore CAS as all permission demands will be granted.
However, ASP.NET does allow administrators to run sites partially trusted,
so you need to make sure that your app will not run partially trusted if you
wish to ignore CAS.
HTH,
Joe K.
"A.M" <IHateSpam@sapm123.com> wrote in message
news:uV7Oe9O8DHA.696@tk2msftngp13.phx.gbl...system> Hi,
> I am developing an ASP.NET application which works as a very restricted
> identity on IIS6.0
> The application will just have communication with DB server (no file> or registery access)
>
> Is there any benefit to consider code access security inside assemblies?
>
> Thanks,
> Ali
>
>
>
Joe Kaplan \(MVP - ADSI\) Guest



Reply With Quote

