-
Form based security
Hi, I am trying to secure one directory using forms based security, but it
seems that it wont allow a
<authentication mode="Forms">
<forms name=".ASPXCOOKIEDEMO" loginUrl="/tmc/family/login.aspx"
protection="All" timeout="30" path="/" />
</authentication>
within the directory (/tmc/family) that I am trying to secure.
tmc is the root directory of the site.
Has anyone any ideas?
Tom.
-
Re: Security
> I am using Forms based security. I have a web.config on
> "/Process", and I want to create new dirs on "/Process",
> and I want, without creating a new web.config...that this
> new dir created by runtime, inherits the web.config from
> "/Process".
Jonas: OK. What's your question? Have you tried it?
--
Phil Weber
-
Re: Security
Thanks both.
Well, i have tried and it "seemed" to be not working, because i was putting
the url the browser and it showed the file because it was the ie cache. if
i do the refresh, it will redirect to the login.
thanks
jonas
~
David A. Rothgery <drothgery@alum.wpi.edu> wrote:
>Phil Weber <philweber@hotmail.com> wrote:
>> > I am using Forms based security. I have a web.config on
>> > "/Process", and I want to create new dirs on "/Process",
>> > and I want, without creating a new web.config...that this
>> > new dir created by runtime, inherits the web.config from
>> > "/Process".
>>
>> Jonas: OK. What's your question? Have you tried it?
>
>Though if he wants to have different permissions for different
>subdirectories (or specific pages) in an ASP.NET application, he should
>look at the <location> tag in web.config.
>
><ms-
>help://MS.NETFrameworkSDK/cpguidenf/html/cpconconfigurationlocationsetti
>ngs.htm>
>
>(recombine the lines, if necessary)
>
>--
>Dave Rothgery
>Picking nits since 1976
>drothgery@alum.wpi.edu
>http://drothgery.editthispage.com
-
Re: Security
Phil Weber <philweber@hotmail.com> wrote:
> > I am using Forms based security. I have a web.config on
> > "/Process", and I want to create new dirs on "/Process",
> > and I want, without creating a new web.config...that this
> > new dir created by runtime, inherits the web.config from
> > "/Process".
>
> Jonas: OK. What's your question? Have you tried it?
Though if he wants to have different permissions for different
subdirectories (or specific pages) in an ASP.NET application, he should
look at the <location> tag in web.config.
<ms-
help://MS.NETFrameworkSDK/cpguidenf/html/cpconconfigurationlocationsetti
ngs.htm>
(recombine the lines, if necessary)
--
Dave Rothgery
Picking nits since 1976
drothgery@alum.wpi.edu
http://drothgery.editthispage.com
-
Re: Security
Jonas
You should keep in mind that if you modify the Web.Config file the
application restarts (once current process is finished), this means you will
loose any Session State you may have. Just something to keep in mind...
Garry McGlennon
"jonas" <vb.@127.0.0.1> wrote in message
news:3e6f5145$1@tnews.web.devx.com...
>
> Thanks both.
> Well, i have tried and it "seemed" to be not working, because i was
putting
> the url the browser and it showed the file because it was the ie cache. if
> i do the refresh, it will redirect to the login.
>
> thanks
>
> jonas
>
>
> ~
> David A. Rothgery <drothgery@alum.wpi.edu> wrote:
> >Phil Weber <philweber@hotmail.com> wrote:
> >> > I am using Forms based security. I have a web.config on
> >> > "/Process", and I want to create new dirs on "/Process",
> >> > and I want, without creating a new web.config...that this
> >> > new dir created by runtime, inherits the web.config from
> >> > "/Process".
> >>
> >> Jonas: OK. What's your question? Have you tried it?
> >
> >Though if he wants to have different permissions for different
> >subdirectories (or specific pages) in an ASP.NET application, he should
>
> >look at the <location> tag in web.config.
> >
> ><ms-
> >help://MS.NETFrameworkSDK/cpguidenf/html/cpconconfigurationlocationsetti
> >ngs.htm>
> >
> >(recombine the lines, if necessary)
> >
> >--
> >Dave Rothgery
> >Picking nits since 1976
> >drothgery@alum.wpi.edu
> >http://drothgery.editthispage.com
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks