Click here to Skip to main content
15,881,670 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: get symbol using javascript Pin
eyeseetee28-Mar-08 0:53
eyeseetee28-Mar-08 0:53 
GeneralRe: get symbol using javascript Pin
Christian Graus28-Mar-08 1:47
protectorChristian Graus28-Mar-08 1:47 
Generaldisable ahref link in gridview Pin
eyeseetee27-Mar-08 23:53
eyeseetee27-Mar-08 23:53 
GeneralRe: disable ahref link in gridview Pin
Imran Khan Pathan28-Mar-08 0:33
Imran Khan Pathan28-Mar-08 0:33 
GeneralRe: disable ahref link in gridview Pin
eyeseetee28-Mar-08 1:03
eyeseetee28-Mar-08 1:03 
GeneralRe: disable ahref link in gridview Pin
Not Active28-Mar-08 1:42
mentorNot Active28-Mar-08 1:42 
GeneralRe: disable ahref link in gridview Pin
That's Aragon28-Mar-08 3:23
That's Aragon28-Mar-08 3:23 
Generalproblem getting IIS integrated authentication to work Pin
reallyUnique27-Mar-08 23:36
reallyUnique27-Mar-08 23:36 
Hi,

I'm having a problem setting up web.config to challenge for authentication on some pages, but not others.

Here is what I'm doing:

<configuration>

...
    <system.web>

...
        <authentication mode="Windows" />
        <authorization>
            <allow users="*"/>
        </authorization>

...
    </system.web>
    <location path="server/local" allowOverride="false">
        <system.web>
            <authorization>
                <deny users="?" />
            </authorization>
        </system.web>
    </location>
</configuration>


I.e. i'd like to allow all users on all pages, except on all pages below the server/local directory, where I'd like IIS to challenge anonymous users for authentication. The odd thing is that this only seems to work if the parent directory of 'local', i.e. 'server' exists on disk.

The thing is, that I'm working with a custom IHttpHandler that generates pages dynamically, and uses the path to pages to decide which pages to create (not ideal, maybe, but it's something I haven't got control over). That is, neither the 'server' nor the 'local' directory exist on disk, and so pages are returned without challenge. If I manually create the directories, I suddenly get the login challenge.

So, my question is, am I doing something wrong, or is it a bug. Or is this how it's supposed to work, and if so, is there a work around?

Cheers,

Tilman
GeneralClasses on Microsoft Technologies Pin
Satish - Developer27-Mar-08 23:24
Satish - Developer27-Mar-08 23:24 
Generalinline sql or stored procedure Pin
eyeseetee27-Mar-08 22:51
eyeseetee27-Mar-08 22:51 
GeneralRe: inline sql or stored procedure Pin
J4amieC27-Mar-08 23:29
J4amieC27-Mar-08 23:29 
GeneralRe: inline sql or stored procedure Pin
eyeseetee27-Mar-08 23:50
eyeseetee27-Mar-08 23:50 
GeneralRe: inline sql or stored procedure Pin
Declan Bright28-Mar-08 3:21
Declan Bright28-Mar-08 3:21 
GeneralSession Expired Problem Pin
sjs4u27-Mar-08 21:07
sjs4u27-Mar-08 21:07 
GeneralRe: Session Expired Problem Pin
SathyaSiva27-Mar-08 21:30
SathyaSiva27-Mar-08 21:30 
GeneralRe: Session Expired Problem Pin
sjs4u27-Mar-08 22:57
sjs4u27-Mar-08 22:57 
GeneralRe: Session Expired Problem Pin
eyeseetee27-Mar-08 23:14
eyeseetee27-Mar-08 23:14 
GeneralRe: Session Expired Problem Pin
sjs4u27-Mar-08 23:16
sjs4u27-Mar-08 23:16 
GeneralRe: Session Expired Problem Pin
eyeseetee27-Mar-08 23:49
eyeseetee27-Mar-08 23:49 
GeneralRe: Session Expired Problem Pin
Bogdan Damian1-Apr-08 7:20
Bogdan Damian1-Apr-08 7:20 
GeneralSignout my webpage Pin
SathyaSiva27-Mar-08 20:49
SathyaSiva27-Mar-08 20:49 
GeneralRe: Signout my webpage Pin
eyeseetee27-Mar-08 22:16
eyeseetee27-Mar-08 22:16 
AnswerRe: Signout my webpage Pin
Jesse Squire28-Mar-08 2:38
Jesse Squire28-Mar-08 2:38 
GeneralDifference Between ASP.NET 2003, 2005, 2008 Pin
varshavmane27-Mar-08 19:50
varshavmane27-Mar-08 19:50 
GeneralRe: Difference Between ASP.NET 2003, 2005, 2008 Pin
Christian Graus28-Mar-08 1:49
protectorChristian Graus28-Mar-08 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.