security of user controls in web application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andy B

    security of user controls in web application

    How do you keep the user controls in a web application secure? I.e. not
    allowing access to them from the outside world. I want to have a dll with
    the user controls and secondary code like custom providers and stuff
    together in a dll. How do I do this?



  • Nathan Sokalski

    #2
    Re: security of user controls in web application

    I don't believe you can put UserControls in a dll if they use an *.ascx
    file. It sounds like what you want is a custom control, which you can create
    by inheriting from something such as Control or CompositeContro l, or if you
    like one of the existing standard controls. I have never tried doing it and
    it is not the way it is usually done when creating a control library dll,
    but you can even inherit the UserControl and add the child controls
    programmaticall y. Try doing a little research on how to create controls by
    inheriting one of the necessary classes, once you see a couple examples you
    should be able to understand it better.
    --
    Nathan Sokalski
    njsokalski@hotm ail.com
    有声小说网为广大读者提供热门小说在线免费阅读,本站收集的网络文学小说情节跌宕起伏,有声小说网是值得书友们收藏的小说在线阅读网。


    "Andy B" <a_borka@sbcglo bal.netwrote in message
    news:%23RgxqVPH JHA.4564@TK2MSF TNGP02.phx.gbl. ..
    How do you keep the user controls in a web application secure? I.e. not
    allowing access to them from the outside world. I want to have a dll with
    the user controls and secondary code like custom providers and stuff
    together in a dll. How do I do this?
    >
    >
    >

    Comment

    Working...