Ask a Question related to ASP.NET Security, Design and Development.
-
Soul #1
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
-
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... -
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... -
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... -
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... -
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... -
David Coe #2
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
-
Soul #3
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
-
.NET Follower #4
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...are> 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, whichparticular> 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 afooter.ascx> 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> 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



Reply With Quote

