Ask a Question related to ASP.NET Security, Design and Development.
-
1SALz #1
Suppressing logon window
Hi,
Within a web application, I have secured folder/aspx pages using the
location tag in web.config.
Now whenever an unauthorized user tries to access that page, a popup dialog
is displayed - which i dont want.
I want to show a nicer message like 'you dont have access to this area' on a
possibly redirected page.
How can I do that?
TIA.
Other configuration:
- Under IIS security, only integrated authentication is allowed. (All others
are unchecked)
- Under web.config, I have secured the pages using location tag with roles
set to Active Directory groups.
1SALz Guest
-
Suppressing check for version number
I'm using Dreamweaver to insert a Shockwave movie into an e-Learning web site page. DW adds suitable HTML code in the page. I want to suppress... -
Logon window
Folks im not proud of the fact that i cant find the soloution to this but, How can i stop my w2003k server automatically loggin in with admin... -
suppressing header output
I am attempting to use PHP as scripts executable from a *nix shell rather than on a webserver. e.g. I have the file test.php: #!/usr/bin/php... -
Suppressing second recordset from stored procedure
Hi, I've ran into a small dilemma. I use ADO to get Recordset from Stored Procedure. We use generic function written in VBScript to retrieve... -
Suppressing return messages
How can I suppress the messages that return from executing a SQL script like: 1 row(s) affected -- This electronic message may contain... -
MSFT #2
RE: Suppressing logon window
Hello,
You may take a look at customErrors tag in web.config:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht[/url]
ml/gngrfcustomerrorssection.asp
When you found a special error occur, you can redirect customer a special
page by this setting. (This error message page should be able to accessed
by everyone)
Hope this help,
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
MSFT Guest
-
1SALz #3
Re: Suppressing logon window
Thanks but that didnt help.
Within system.web, here is what I added (beside the authorization block):
<customErrors defaultRedirect="~/noaccess.htm" mode="RemoteOnly">
<error statusCode="401.2" redirect="~/noaccess.htm"/>
</customErrors>
Still the login dialog is displayed and user is given 3 attempts to login
successfully.
What I am trying to do is to redirect user to noaccess page without showing
any login dialog.
"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:c4EiiSfnDHA.576@cpmsftngxa06.phx.gbl...[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht[/url]> Hello,
>
> You may take a look at customErrors tag in web.config:
>
>> ml/gngrfcustomerrorssection.asp
>
> When you found a special error occur, you can redirect customer a special
> page by this setting. (This error message page should be able to accessed
> by everyone)
>
> Hope this help,
>
> Luke
> Microsoft Online Support
>
> Get Secure! [url]www.microsoft.com/security[/url]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
1SALz Guest
-
MSFT #4
Re: Suppressing logon window
To disable the Login dialog, you may make some changes on the virtual
directory's security, for example, use intergrated windows authentication
instead of basic authentication.
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
MSFT Guest
-
MSFT #5
Re: Suppressing logon window
If you which to get rid of the dialog, then you need to allow anonymous
access and handle your security some other way, for example form
authentication.
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
MSFT Guest



Reply With Quote

