Q: User Control & Form Authentication

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

  1. #1

    Default Q: User Control & Form Authentication

    Hi,

    I have a page (home.aspx) and an user control (footer.ascx) which located in
    different websites. The website that user control located require "form"
    authentication, whereas the website that home.aspx located did not implement
    any security.

    Can any one instruct me how to authenticate from the code If I would like to
    use the user control in the home.aspx?

    Thank you.

    --
    Soul




    Soul Guest

  2. Similar Questions and Discussions

    1. Problem creating a new user with form authentication enabled
      Hi I have implemented form authentication with login.aspx as the form to call if the user is not authenticated using the following in the...
    2. value get form web page to user control
      hi I have one webpage and In that web page I have one user control I have one dropdown control in webfrom. I want selected value of that droupdown...
    3. User Control in IE (authentication)?
      Hi, I have a "little" problem with authentication from user control (written in ..NET c#) that is displayed in HTML page using Internet...
    4. WEB FORM --> DOMAIN USER AUTHENTICATION
      Microsoft Knowledge Base Article - 306158 http://support.microsoft.com/default.aspx?scid=kb;en- us;306158] shows a method to impersonate a specific...
    5. web form user control best practices?
      i have a few user controls that need a "visible" property. one example is an error box. the error box's visible property would only be set in the...
  3. #2

    Default RE: Q: User Control & Form Authentication

    In the web.config file within the directory that contains the footer.ascx file, you can specify particular files that are okay coming from a particular location. You may also want to look into URL authorization.
    David Coe Guest

  4. #3

    Default Re: Q: User Control & Form Authentication

    Hi,

    Thanks for your direction. I found that in web.config we are able use
    <location> tab to specify rules for a particular folder or page. I also
    found that the authorization access element have three attributes, which are
    Roles, Users and Verbs. But I really can't figure out how to utilize these
    attribute to built a rule that may allow access if coming FROM a particular
    LOCATION?

    Please enlighten...

    Thank you.

    --
    Soul


    "David Coe" <dhc0e@aol.com> wrote in message
    news:BFE1743F-341A-4F6F-8331-DE5121714425@microsoft.com...
    | In the web.config file within the directory that contains the footer.ascx
    file, you can specify particular files that are okay coming from a
    particular location. You may also want to look into URL authorization.


    Soul Guest

  5. #4

    Default Re: Q: User Control & Form Authentication

    after u authenticate any user ...
    u must then determine if they r authorized to certain resources

    so we can determine the users in which role they are
    and accordingly render pages..

    i hope this article will help u

    [url]http://www.eggheadcafe.com/articles/20020906.asp[/url]

    --
    Thanks and Regards,

    Amit Agarwal
    Software Programmer(.NET)
    "Soul" <no@spam.net> wrote in message
    news:Oe0Ryy56DHA.3308@TK2MSFTNGP11.phx.gbl...
    > Hi,
    >
    > Thanks for your direction. I found that in web.config we are able use
    > <location> tab to specify rules for a particular folder or page. I also
    > found that the authorization access element have three attributes, which
    are
    > Roles, Users and Verbs. But I really can't figure out how to utilize these
    > attribute to built a rule that may allow access if coming FROM a
    particular
    > LOCATION?
    >
    > Please enlighten...
    >
    > Thank you.
    >
    > --
    > Soul
    >
    >
    > "David Coe" <dhc0e@aol.com> wrote in message
    > news:BFE1743F-341A-4F6F-8331-DE5121714425@microsoft.com...
    > | In the web.config file within the directory that contains the
    footer.ascx
    > file, you can specify particular files that are okay coming from a
    > particular location. You may also want to look into URL authorization.
    >
    >

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004


    .NET Follower 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