Skip to main content

Home/ Agency Oasis Developers/ Group items tagged file

Rss Feed Group items tagged

mgraber

ASP.NET QuickStart Tutorials - 0 views

  • Securing Non-ASP.NET Files
  • ASP.NET handles requests for file extensions that are normally associated with ASP.NET, while IIS handles requests for all other file extensions. By default this means common file extensions such as .aspx and .asmx are processed by ASP.NET. This processing includes authentication and authorization to ASP.NET files. Sometimes though, a developer wants non-ASP.NET resources to be processed by ASP.NET. One reason for processing non-ASP.NET files through ASP.NET is to allow ASP.NET authentication and authorization to control access to these types of files. The combination of IIS6 on Windows Server 2003 and ASP.NET 2.0 provides the most flexibility for running the ASP.NET pipeline as part of processing a request for a non-ASP.NET resource. IIS6 includes support that allows ASP.NET 2.0 to perform authentication and authorization steps, and to then hand off the remainder of the processing of a non-ASP.NET resource back to IIS6. For example, it is possible to authenticate access to an ASP page using ASP.NET forms authentication, authorize access with ASP.NET's Url authorization and still allow the ASP ISAPI extension (asp.dll) to execute the ASP page. This support is possible because IIS6 introduced a new server support function for ISAPI extensions: HSE_REQ_EXEC_URL. Assume that a directory structure contains a mix of both ASP and ASP.NET files. The ASP.NET pages are used to log a user in with forms authentication, while the ASP pages represent the rest of the application. Using the IIS6 MMC, right-click on directory and create an application (this is the same step that is necessary when setting up a standard ASP.NET application). After an application has been created, click on the Configuration button that is located on the Directory property page. This will cause the Application Configuration dialog to be displayed. New to IIS6 is a feature called wildcard application mapping. The bottom of the Application Configuration dialog allows you to configure this feature. First determine the path for the ASP.NET ISAPI extension that processes ASP.NET files such as .aspx files. You can find this path by looking at the extensions that are listed in the Application Extensions list shown in the top half of the Application Configuration dialog. Click on the row in the list that maps the .aspx extension, and select the Edit button. In the dialog that pops up, highlight the text in the Executable textbox and copy it to the clipboard. Then cancel out of the dialog. Next, click the Insert button that is in the bottom half of the Application Configuration dialog. A dialog box titled Add/Edit Application Extension Mapping will be displayed. In the Executable text box, enter the path to the ASP.NET ISAPI extension that you copied to the clipboard earlier. The end result should look something like the screenshot below.
  • Click OK to close out all of the dialogs. Now whenever a request is made for any file, the request will first be processed by ASP.NET. If the web.config for your ASP.NET application has enabled forms authentication, an unauthenticated request for a .asp file will first trigger a redirect to the login page configured for forms authentication. After a user has successfully logged in, they will be redirected back to the original .asp page. When the now-authenticated user requests the .asp page, ASP.NET will first run through the FormsAuthenticationModule to verify that the forms authentication cookie exists and is still valid. If this check passes, ASP.NET will hand processing of the .asp page back to IIS6, at which point IIS6 will pass the request on to the ISAPI extension that normally process .asp pages. In this case the extension is asp.dll and the ASP page will then run to completion. The reason ASP.NET will pass the request back to IIS6 is that non-ASP.NET resources will fall through the list of configured <httpHandlers> to the following entry: <add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="True" /> The DefaultHttpHandler is responsible for handing requests back to IIS6 for further processing.
  •  
    "Securing Non-ASP.NET Files"
Mark Ursino

CSSrefresh - automatically refresh CSS files - 0 views

  •  
    CSSrefresh is a small, unobstructive javascript file that monitors the CSS-files included in your webpage. As soon as you save a CSS-file, the changes are directly implemented, without having to refresh your browser.
Mark Ursino

BlueScreenView - View blue screen of death (STOP error) information. - 0 views

  •  
    BlueScreenView scans all your minidump files created during 'blue screen of death' crashes, and displays the information about all crashes in one table. For each crash, BlueScreenView displays the minidump filename, the date/time of the crash, the basic crash information displayed in the blue screen (Bug Check Code and 4 parameters), and the details of the driver or module that possibly caused the crash (filename, product name, file description, and file version). For each crash displayed in the upper pane, you can view the details of the device drivers loaded during the crash in the lower pane. BlueScreenView also mark the drivers that their addresses found in the crash stack, so you can easily locate the suspected drivers that possibly caused the crash.
mgraber

How do I stop Mac OS X from creating .DS_Store files on WebDAV upload? - Plone CMS: Ope... - 0 views

  •  
    How do I stop Mac OS X from creating .DS_Store files on WebDAV upload?
  •  
    How do I stop Mac OS X from creating .DS_Store files on WebDAV upload?
mgraber

Office Online File Converters and Viewers - Downloads - Office.com - 0 views

  •  
    "Office Online File Converters and Viewers"
mgraber

About file format changes in OneNote 2010 - OneNote - Office.com - 0 views

  •  
    "About file format changes in OneNote 2010"
Douglas Couto

How to Fix "PageHandlerFactory-Integrated" bad module "ManagedPipelineHandler in IIS7 - 0 views

  •  
    Apparently, the reason I was recieving the Internal Server error message was that I had installed SQL Server 2008, after installing Visual Studio 2010, and because of this it corrupted the IIS Machine level configuration files ("If you install VS2010 and then install VS2008 and VS2008 SP1, the configuration files for ASP.NET in IIS only include about 1/2 of the correct .Net 4.0 configuration sections." read more here).
Mark Ursino

Fine Uploader a.k.a valums file-uploader - 0 views

  •  
    File uploading without the hassle
Douglas Couto

Knowledge Base - Cannot open a file having special characters in the filename on IIS - 0 views

  •  
    "you should now be able to open up the file name having '+' in its name."
mgraber

How to recover a Corrupted NTDS.dit file in windows 2003 Server? : Operating System - 0 views

  •  
    "How to recover a Corrupted NTDS.dit file in windows 2003 Server?"
Mark Ursino

Downloadify: Client-Side File Generation - 0 views

  •  
    Downloadify is a tiny JavaScript + Flash library that enables the generation and saving of files on the fly, in the browser, without server interaction.
mgraber

Ektron DevCenter - 0 views

  • Collections.aspx
    • mgraber
       
      Don't modify the Collections.aspx file or it will break the Menu module. You won't be able to add items to menus.
  •  
    PROBLEM:Users cannot create Hyperlink, File, and Image Library items in Workarea
mgraber

Watch Mode · cloudhead/less.js Wiki · GitHub - 0 views

  •  
    You must enable this for less to run all your less files every time. To enable Watch Mode, development mode must be enabled.
Mark Ursino

jsPDF - 0 views

shared by Mark Ursino on 09 Sep 12 - No Cached
  •  
    Generate PDF files using pure client-side JavaScript
Douglas Couto

Auto select file in solution explorer from its open tab in visual studio 2010 - Stack O... - 0 views

  •  
    "I don't know if you can do it on-demand, but you can enable the option "Track Active Item in Solution Explorer" (options->Projects and Solutions) which will always select the active tab item in the solution explorer."
Matt DeGennaro

Bare Metal Software > BareTail - Free tail for Windows - 1 views

  •  
    handy utility for viewing Sitecore log files
1 - 20 of 92 Next › Last »
Showing 20 items per page