ASP.NET hosting & MS Access

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default ASP.NET hosting & MS Access

    We are trying to offer free ASP & ASP.NET hosting. I read alot of articles
    and documentation in order to setup and offer ASP.NET and MS Access. Based
    of what I read, MS Access requires FullTrust in order to work. Providing
    fullTrust will be very risky in the ISP environment. In there anyway to lock
    an application in it's directory and prevent accessing other customers data
    while keeping MS Access support.
    Please help.
    Run each site in a separate application pool will not be an option because
    we have to create thousands of application pools.

    thanks alot


    FARID Guest

  2. Similar Questions and Discussions

    1. ASP Hosting
      can anyone recommend a reasonably priced hosting company that allows hosting of multiple sites (with their own domains) under 1 account? I am...
    2. MS SQL hosting in UK
      I work in house so I'm used to having all my servers to hand. Now I've had a offer to do some independent freelance work making a fairly straight...
    3. Important: Web Hosting from $2.95/m - Reseller Hosting from $9.95/m
      ::*CRUCIAL PARADIGM *:: * AFFORDABLE, RELIABLE, PROFESSIONAL WEB SOLUTIONS *Linux Hosting * ' Compare Plans'...
    4. is it possible to block access to system.management.interface in shared hosting?
      I want to be able to block ASP.net calls to WMI in a win2003 shared hosting environment and can't seem to find instructions on how to do this. Any...
    5. PHP hosting with remote MySQL access allowed
      I am in the process of developing a client side application that needs to speak to our remote databases. Does anybody know of a hosting solution...
  3. #2

    Default ASP.NET hosting & MS Access

    Hi,

    the OleDb Provider in .NET has a full trust link-demand. the only way to use OleDb from partially trusted apps is through a sandboxed full trust assembly in the GAC...

    this is some info i compiled on this topic:
    [url]http://www.leastprivilege.com/PermaLink.aspx?guid=96a0e4af-7996-4e6a-b9fd-78ab8c0b29b5[/url]



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl>

    We are trying to offer free ASP & ASP.NET hosting. I read alot of articles
    and documentation in order to setup and offer ASP.NET and MS Access. Based
    of what I read, MS Access requires FullTrust in order to work. Providing
    fullTrust will be very risky in the ISP environment. In there anyway to lock
    an application in it's directory and prevent accessing other customers data
    while keeping MS Access support.
    Please help.
    Run each site in a separate application pool will not be an option because
    we have to create thousands of application pools.

    thanks alot



    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier Guest

  4. #3

    Default Re: ASP.NET hosting & MS Access

    By default
    >> MS Access requires FullTrust
    But you can allow OleDB in a Custom or the Internet PermissionSet.

    --
    Daniel Fisher(lennybacon)
    MCP C# ASP.NET
    Blog: [url]http://www.lennybacon.com/[/url]



    "FARID" <farid.almoqayed@xpandcorp.com> wrote in message
    news:elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl...
    > We are trying to offer free ASP & ASP.NET hosting. I read alot of articles
    > and documentation in order to setup and offer ASP.NET and MS Access. Based
    > of what I read, MS Access requires FullTrust in order to work. Providing
    > fullTrust will be very risky in the ISP environment. In there anyway to
    > lock
    > an application in it's directory and prevent accessing other customers
    > data
    > while keeping MS Access support.
    > Please help.
    > Run each site in a separate application pool will not be an option because
    > we have to create thousands of application pools.
    >
    > thanks alot
    >
    >

    Daniel Fisher\(lennybacon\) Guest

  5. #4

    Default ASP.NET hosting & MS Access

    Yep, Dominick!

    --
    Daniel Fisher(lennybacon)
    MCP C# ASP.NET
    Blog: [url]http://www.lennybacon.com/[/url]


    Daniel Fisher\(lennybacon\) Guest

  6. #5

    Default Re: ASP.NET hosting & MS Access

    yes, i know....but you need full trust to call the library (full trust link deman)



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<OzbpfZ$pEHA.3012@TK2MSFTNGP10.phx.gbl>

    By default
    >> MS Access requires FullTrust
    But you can allow OleDB in a Custom or the Internet PermissionSet.

    --
    Daniel Fisher(lennybacon)
    MCP C# ASP.NET
    Blog: [url]http://www.lennybacon.com/[/url]



    "FARID" <farid.almoqayed@xpandcorp.com> wrote in message
    news:elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl...
    > We are trying to offer free ASP & ASP.NET hosting. I read alot of articles
    > and documentation in order to setup and offer ASP.NET and MS Access. Based
    > of what I read, MS Access requires FullTrust in order to work. Providing
    > fullTrust will be very risky in the ISP environment. In there anyway to
    > lock
    > an application in it's directory and prevent accessing other customers
    > data
    > while keeping MS Access support.
    > Please help.
    > Run each site in a separate application pool will not be an option because
    > we have to create thousands of application pools.
    >
    > thanks alot
    >
    >


    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier Guest

  7. #6

    Default Re: ASP.NET hosting & MS Access

    For testing, sorry
    admin Guest

  8. #7

    Default Re: ASP.NET hosting & MS Access

    Thank you all for youe reply.

    My understanding was the OLE DB and ODBC data resources demand full trust.
    We can't use a custom policy.
    In ISP environment, how can we allow users to use OLE DB and ODBC data
    resources and at the same time lock
    an application in it's directory??
    How can we sandbox the resources?
    Would you please send me a sample code with instruction how to configure the
    web server?

    Thanks alot



    "Daniel Fisher(lennybacon)" <info@(removethis)lennybacon.com> wrote in
    message news:OzbpfZ$pEHA.3012@TK2MSFTNGP10.phx.gbl...
    > By default
    > >> MS Access requires FullTrust
    >
    > But you can allow OleDB in a Custom or the Internet PermissionSet.
    >
    > --
    > Daniel Fisher(lennybacon)
    > MCP C# ASP.NET
    > Blog: [url]http://www.lennybacon.com/[/url]
    >
    >
    >
    > "FARID" <farid.almoqayed@xpandcorp.com> wrote in message
    > news:elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl...
    > > We are trying to offer free ASP & ASP.NET hosting. I read alot of
    articles
    > > and documentation in order to setup and offer ASP.NET and MS Access.
    Based
    > > of what I read, MS Access requires FullTrust in order to work. Providing
    > > fullTrust will be very risky in the ISP environment. In there anyway to
    > > lock
    > > an application in it's directory and prevent accessing other customers
    > > data
    > > while keeping MS Access support.
    > > Please help.
    > > Run each site in a separate application pool will not be an option
    because
    > > we have to create thousands of application pools.
    > >
    > > thanks alot
    > >
    > >
    >
    >

    FARID Guest

  9. #8

    Default Re: ASP.NET hosting & MS Access

    Hi,

    you are right - they demand full trust - so you will have problems with this scenario -

    the only way to let a partial trust web app access OLEDB sources is through an intermediate full trust code in the GAC -

    the only effective way to isolate full trust apps is to -

    - give each webapp a different worker process

    - use a different account for each worker process

    - ACL everything for the specific worker process account - not IIS_WPG

    - Set ACLs on the Metabase (so that a worker process cannot read the anonymous account and pwd from another app pool e.g.)

    - Give every web app an individual temporary assemblies folder

    a.s.o.

    for links (especially to the threats and countermeasures paper and OWASP) consult this summary i wrote

    [url]http://www.leastprivilege.com/PermaLink.aspx?guid=96a0e4af-7996-4e6a-b9fd-78ab8c0b29b5[/url]



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<uw#PVNuqEHA.3288@TK2MSFTNGP12.phx.gbl>

    Thank you all for youe reply.

    My understanding was the OLE DB and ODBC data resources demand full trust.
    We can't use a custom policy.
    In ISP environment, how can we allow users to use OLE DB and ODBC data
    resources and at the same time lock
    an application in it's directory??
    How can we sandbox the resources?
    Would you please send me a sample code with instruction how to configure the
    web server?

    Thanks alot



    "Daniel Fisher(lennybacon)" <info@(removethis)lennybacon.com> wrote in
    message news:OzbpfZ$pEHA.3012@TK2MSFTNGP10.phx.gbl...
    > By default
    > >> MS Access requires FullTrust
    >
    > But you can allow OleDB in a Custom or the Internet PermissionSet.
    >
    > --
    > Daniel Fisher(lennybacon)
    > MCP C# ASP.NET
    > Blog: [url]http://www.lennybacon.com/[/url]
    >
    >
    >
    > "FARID" <farid.almoqayed@xpandcorp.com> wrote in message
    > news:elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl...
    > > We are trying to offer free ASP & ASP.NET hosting. I read alot of
    articles
    > > and documentation in order to setup and offer ASP.NET and MS Access.
    Based
    > > of what I read, MS Access requires FullTrust in order to work. Providing
    > > fullTrust will be very risky in the ISP environment. In there anyway to
    > > lock
    > > an application in it's directory and prevent accessing other customers
    > > data
    > > while keeping MS Access support.
    > > Please help.
    > > Run each site in a separate application pool will not be an option
    because
    > > we have to create thousands of application pools.
    > >
    > > thanks alot
    > >
    > >
    >
    >


    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier Guest

  10. #9

    Default Re: ASP.NET hosting & MS Access

    I don't want to look stupid But how can I do that.
    > the only way to let a partial trust web app access OLEDB sources is
    through an intermediate full trust code in the GAC -
    > the only effective way to isolate full trust apps is to -
    I can't create a pool for each user. In this way, I have to create
    thousands. In there any way around that.
    > - give each webapp a different worker process
    >
    > - use a different account for each worker process
    >
    > - ACL everything for the specific worker process account - not IIS_WPG
    >
    > - Set ACLs on the Metabase (so that a worker process cannot read the
    anonymous account and pwd from another app pool e.g.)
    >
    > - Give every web app an individual temporary assemblies folder
    >
    > a.s.o.
    >
    > for links (especially to the threats and countermeasures paper and OWASP)
    consult this summary i wrote
    >
    >
    [url]http://www.leastprivilege.com/PermaLink.aspx?guid=96a0e4af-7996-4e6a-b9fd-78ab8c0b29b5[/url]
    >
    >
    >
    > ---
    > Dominick Baier - DevelopMentor
    > [url]http://www.leastprivilege.com[/url]
    >
    >
    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<uw#PVNuqEHA.3288@TK2MSFTNGP12.phx.gbl>
    >
    > Thank you all for youe reply.
    >
    > My understanding was the OLE DB and ODBC data resources demand full
    trust.
    > We can't use a custom policy.
    > In ISP environment, how can we allow users to use OLE DB and ODBC data
    > resources and at the same time lock
    > an application in it's directory??
    > How can we sandbox the resources?
    > Would you please send me a sample code with instruction how to configure
    the
    > web server?
    >
    > Thanks alot
    >
    >
    >
    > "Daniel Fisher(lennybacon)" <info@(removethis)lennybacon.com> wrote in
    > message news:OzbpfZ$pEHA.3012@TK2MSFTNGP10.phx.gbl...
    > > By default
    > > >> MS Access requires FullTrust
    > >
    > > But you can allow OleDB in a Custom or the Internet PermissionSet.
    > >
    > > --
    > > Daniel Fisher(lennybacon)
    > > MCP C# ASP.NET
    > > Blog: [url]http://www.lennybacon.com/[/url]
    > >
    > >
    > >
    > > "FARID" <farid.almoqayed@xpandcorp.com> wrote in message
    > > news:elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl...
    > > > We are trying to offer free ASP & ASP.NET hosting. I read alot of
    > articles
    > > > and documentation in order to setup and offer ASP.NET and MS Access.
    > Based
    > > > of what I read, MS Access requires FullTrust in order to work.
    Providing
    > > > fullTrust will be very risky in the ISP environment. In there anyway
    to
    > > > lock
    > > > an application in it's directory and prevent accessing other
    customers
    > > > data
    > > > while keeping MS Access support.
    > > > Please help.
    > > > Run each site in a separate application pool will not be an option
    > because
    > > > we have to create thousands of application pools.
    > > >
    > > > thanks alot
    > > >
    > > >
    > >
    > >
    >
    >
    >
    > [microsoft.public.dotnet.framework.aspnet.security]

    FARID Guest

  11. #10

    Default Re: ASP.NET hosting & MS Access

    i gave you a whole array of links to get smart about it.

    in my blog entry i mention the Threats and Countermeasures Paper from MS patterns and practices - see chapter 9 for an example of sandboxing code in the gac.



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<Ok2zvOyqEHA.3728@TK2MSFTNGP09.phx.gbl>

    I don't want to look stupid But how can I do that.
    > the only way to let a partial trust web app access OLEDB sources is
    through an intermediate full trust code in the GAC -
    > the only effective way to isolate full trust apps is to -
    I can't create a pool for each user. In this way, I have to create
    thousands. In there any way around that.
    > - give each webapp a different worker process
    >
    > - use a different account for each worker process
    >
    > - ACL everything for the specific worker process account - not IIS_WPG
    >
    > - Set ACLs on the Metabase (so that a worker process cannot read the
    anonymous account and pwd from another app pool e.g.)
    >
    > - Give every web app an individual temporary assemblies folder
    >
    > a.s.o.
    >
    > for links (especially to the threats and countermeasures paper and OWASP)
    consult this summary i wrote
    >
    >
    [url]http://www.leastprivilege.com/PermaLink.aspx?guid=96a0e4af-7996-4e6a-b9fd-78ab8c0b29b5[/url]
    >
    >
    >
    > ---
    > Dominick Baier - DevelopMentor
    > [url]http://www.leastprivilege.com[/url]
    >
    >
    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<uw#PVNuqEHA.3288@TK2MSFTNGP12.phx.gbl>
    >
    > Thank you all for youe reply.
    >
    > My understanding was the OLE DB and ODBC data resources demand full
    trust.
    > We can't use a custom policy.
    > In ISP environment, how can we allow users to use OLE DB and ODBC data
    > resources and at the same time lock
    > an application in it's directory??
    > How can we sandbox the resources?
    > Would you please send me a sample code with instruction how to configure
    the
    > web server?
    >
    > Thanks alot
    >
    >
    >
    > "Daniel Fisher(lennybacon)" <info@(removethis)lennybacon.com> wrote in
    > message news:OzbpfZ$pEHA.3012@TK2MSFTNGP10.phx.gbl...
    > > By default
    > > >> MS Access requires FullTrust
    > >
    > > But you can allow OleDB in a Custom or the Internet PermissionSet.
    > >
    > > --
    > > Daniel Fisher(lennybacon)
    > > MCP C# ASP.NET
    > > Blog: [url]http://www.lennybacon.com/[/url]
    > >
    > >
    > >
    > > "FARID" <farid.almoqayed@xpandcorp.com> wrote in message
    > > news:elKB2x9pEHA.2432@TK2MSFTNGP15.phx.gbl...
    > > > We are trying to offer free ASP & ASP.NET hosting. I read alot of
    > articles
    > > > and documentation in order to setup and offer ASP.NET and MS Access.
    > Based
    > > > of what I read, MS Access requires FullTrust in order to work.
    Providing
    > > > fullTrust will be very risky in the ISP environment. In there anyway
    to
    > > > lock
    > > > an application in it's directory and prevent accessing other
    customers
    > > > data
    > > > while keeping MS Access support.
    > > > Please help.
    > > > Run each site in a separate application pool will not be an option
    > because
    > > > we have to create thousands of application pools.
    > > >
    > > > thanks alot
    > > >
    > > >
    > >
    > >
    >
    >
    >
    > [microsoft.public.dotnet.framework.aspnet.security]


    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139