Re: Beginners ASP or IIS security problem

From: Tom Kaminski [MVP] ((A_at_T))
Date: 06/09/03


Date: Mon, 9 Jun 2003 09:37:36 -0400


"steve" <s.tucker@tesco.net> wrote in message
news:0cbc01c32c89$07b574e0$a001280a@phx.gbl...
> I have written an asp application using SQL server,
> running on IIS 5, That
> secures access to files eg Doc, HTML, PDF etc.
>
> This works by checking security access and opening the
> results in a frame.
>
> The problem I have is that users could just access the
> Doc file directly if
> they happened to guess the file location on the server.
> Is there any way of
> limiting access to all files in a specific folder on the
> server and forcing
> users to access my application.
>
> Any help would be gratefully received.

If you don't want to use Windows authentication and security, your best bet
would be to put those files in a folder that is not under wwwroot (so they
can't be accessed directly via a URL) and use ADODB.Stream and
Response.BinaryWrite to serve them from an ASP after your security logic
requirements have been met.

http://support.microsoft.com/?kbid=276488

-- 
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/


Relevant Pages

  • RE: asp pages error
    ... our intranet connects to several access databases we dont get an asp ... I tried to add a new site to iis, ... > down and type the full content of the error message to the Newsgroup. ... > SP1 on your SBS 2K3 server? ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem with freezing on IIS
    ... Low protection means the web app is running inside inetInfo.exe itself ... something wrong with COM+ or IIS is having some kind of logon problem. ... When we had it set to Medium, it would not even process ASP pages. ... settings (as is the problem server). ...
    (microsoft.public.inetserver.iis)
  • Re: File Upload - Security Issues
    ... You want to upload a file for what reason and you do ... file and what pitfalls you see re: security might be helpful on this end?! ... files to an IIS server that doesn't have MS Office actually installed? ... 2* Upon submit this is submitted to an ASP page that then (using the XML ...
    (microsoft.public.scripting.vbscript)
  • RE: NT/IIS decoy
    ... Does anyone know how to hide or mask the identity of a IIS 4.0 or 5.0 server ... Principal Security Consultant ... Best Individual Income Protection Provider 2001 - Health Insurance Magazine ...
    (Pen-Test)
  • [NT] Vulnerability in Internet Information Services Allows Code Execution (MS08-006)
    ... Get your security news from a reliable source. ... Vulnerability in Internet Information Services Allows Code Execution ... exists in the way that IIS handles input to ASP Web pages. ... Services on all supported editions of Windows XP and Windows Server 2003. ...
    (Securiteam)