Forms Authentication won't redirect to login page

Discussion in 'ASP .Net Security' started by Max Figueredo via .NET 247, Sep 22, 2004.

  1. I'm trying to set basic form authentication on a webapp. I allaccess restricted to authenticated users. After changing theWeb.config file in the app's root, I'm still not beingredirected to the login page, I can freely access anything. Notethat, although I have used forms auth. before, this is a newtest server.

    <?xml version="1.0" encoding="utf-8" ?>

    <compilation defaultLanguage="vb" debug="true" />

    <customErrors mode="RemoteOnly" />

    <authentication mode="Forms">
    <forms name=".FORUM"

    <deny users="?" />

    <trace enabled="false" requestLimit="10" pageOutput="false"traceMode="SortByTime" localOnly="true" />


    <globalization requestEncoding="utf-8"responseEncoding="utf-8" />


    <location path="Secure/">
    <deny users="?" />


    Things that I have tried already include:
    - Reinstalling
    - Creating a separate "Secure" subdirectory, with a separateweb.config restricting acces. Same result, I don't getredirected to the login page.
    - Accessing web app from different machines.

    I have the feeling that it has something to do with serverconfiguration / permissions, if someone could maybe point intothe right direction.

    Thanks !

    Max Figueredo via .NET 247, Sep 22, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.